Jump to content

HTML/JAVASCRIPT, I WILL PAY FOR HELP.


Tehh Skiller

Recommended Posts

Tehh Skiller
Posted

Project – Part 1:

You will develop a binary/decimal calculator. Your calculator must meet the specifications below.

Specifications:

1. Your calculator must work with binary and decimal (normal) numbers.

2. Your calculator must allow 2 numbers to be entered (both in binary or both in decimal).

3. Your calculator must allow the 2 numbers to be subtracted, added and multiplied.

4. When doing a calculation you may display the result in decimal format for simplicity.

5. When entering a ‘binary’ number, you may assume it is 8 bits long.

6. There must be no errors in your webpage. (Run-time errors and Syntax errors).

7. Your code must use an Array in the solution of this problem.

My code so far, i have gotten "one" number to be projected onto the screen, but I have no idea how to make them + or - or *.

<html>

</head>

<script type="text/javascript">

function Calculate(box1, box2)

{

var BinaryArray = box1.split(''); 

var BinaryArray2 = box2.split(''); 

var multiply= 1;

var answer;

for (count=BinaryArray.length-1; count>=0; count--)

{

answer= multiply * BinaryArray[count];

document.write(BinaryArray[count]);

}

}

</script>

</head>

<body>

<form>

<input type= "text" name="box1">

<br>

<br>

<input type= "text" name="box2">

<br>

<input type="radio" name="calculate1" value="Binary"> Binary

<br>

<input type="radio" name="Calculate2" value="Decimal"> Decimal

<input type = "button" value = "convert binary" onclick="Calculate(box1.value, box2.value)">

</form>

</body>

</html>

If anybody can fix this to the specs i asked, i will be willing to pay $25 - $40USD.

Please respond here if you are willing to help me out, before starting.

Posted

i'd go to thomas for help. He need's cash for ganja and he's good with that stuff.

Posted

I locked the last one as it's against rules, and I will lock this one too. Post another and enjoy a suspension.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.