Show Bid Request
convert user input number to its two's complement rep.
Bid Request Id: 21675
|
|
|
Posted by: |
jc0000 (15 ratings)
(Software buyer rating 8.8)
|
Non-action Ratio: |
Very Good - 15.38%
|
Posted: |
Jul 14, 2002 5:08:56 PM EDT
|
Bidding Closes: |
Jul 14, 2002 11:33:33 PM EDT
|
Viewed (by coders): |
125 times
|
Deadline: |
7/15/2002
TIME EXPIRED
|
|
|
|
Description:
What to do:
Present the user with a menu with two choices. make sure the menu choices are type int:
1.calculate the two's comp of a number. 2.exit
*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++.
Must be 100% finished and received by buyer on:
Jul 15, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
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.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$5 (USD)
|
Jul 14, 2002 6:23:32 PM EDT
|
9.67
(Excellent)
|
|
|
In fact, I did something very similar in my last bid 1 week ago. I do it with C++. It's easy. Sincerely
Ricardo Lavia
Microsoft Certified Professional |
|
|
|
|
|