convert user input number to its two's complement rep.
$3-8 USD
Paid on delivery
What to do: Present the user with a menu with two choices. make sure the menu choices are type int: [url removed, login to view] the two's comp of a number. [url removed, login to view] *calculate the two's comp of the user enter number *output each step of the *return to the menu *one possible approach would be to think of the final two's comp number as being a string of characters. keeping in mind that you can add a char to a string. one could possibly build a psuedo binary string rep of a two's comp number by starting an empy string and adding 0's and 1's to it. *the program should handle input integers which are positive. *again, the program should continue to run until the user chooses quit from the menu. ************************ sample run: Choose from the menu below: 1.) calculate the two's compliment 2.) exit Menu Choice: 1 Invalid choice, try agaicalculation.n : 1 Please enter a number: -24 Your number is negative. the signed magnitude of the number is : 111000 Complimenting the bits leaves: 100111 Add 1 bit for a final answer of: 101000 Choose from the menu below: 1.) calculate the two's compliment 2.) exit Menu Choice: 1 Please enter a number: 37 Your number is positive. The two's complement of the number is: 0100101
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. The prog should consist of a fair amount of iterative loops. The program must not be to sophisicated, as this program is for a beginner's course. Please don't use: Arrays, too many funtions, and anything else you think wouldn;t be used in a beginning course. I must have it by 8:00 pm central time. After that it'll be to late, cause I'm leaving monday at 5:00 am(it's due monday afternoon).
## Platform
Windows 2000, unix. usually use visual c++.
## Deadline information
I must have the working prog sunday night(around 8-9 central time). Any later after that, unfortunately, will be to late as I leave at 5 am on monday. thanks, it would be greatly appreciated. I should of started sooner, but am running out of time.
Project ID: #2860488