Find Jobs
Hire Freelancers

Private auction for Amit Patel on 7/14/2002 7:33:35 PM

$5-10 USD

已完成
已发布将近 22 年前

$5-10 USD

货到付款
What to do: Present the user with a menu with two choices. make sure the menu choices are type int: [login to view URL] the two's comp of a number. [login to view URL] *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. Please use simple stuff in the program in c++!! I repeat, make it very simple. no arrays, functions, etc.. 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 unix, windows 2000 ## Deadline information 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).
项目 ID: 2860507

关于此项目

4提案
远程项目
活跃22 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$4 USD 在14天之内
5.0 (8条评论)
1.7
1.7
4威客以平均价$6 USD来参与此工作竞价
用户头像
See private message.
$6.80 USD 在14天之内
5.0 (4条评论)
1.4
1.4
用户头像
See private message.
$6.80 USD 在14天之内
0.5 (3条评论)
1.1
1.1
用户头像
See private message.
$6.80 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
4.7
26
会员自2月 17, 2002起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。