Find Jobs
Hire Freelancers

c++ integers -- 3

$10-30 USD

已完成
已发布将近 10 年前

$10-30 USD

货到付款
this is the third time I am posting this project. I have had two individuals unable to correctly write the program. Write a program that requests numbers from the user and then prints each number out in a variety of formats. For each number typed in, your program should print out two lines: First, your program should ask the user if they want to print the output in either "byte order: big-endian" or "byte order: small-endian" depending on the their preference. Based on the user selection, you should print out either big-endian or small-endian. Your test output and sample screen-shot should include both examples of big-endian and small-endian output. first line: integer, right justified in a 10 character field hex representation of that integer second line: floating point, right justified in a 10 character field, with 2 digits to the right of the decimal point hex representation of that floating number Your program should repeatedly ask for input until the user types in a zero, and then it should exit. Your program should be able to handle bad user input. When it encounters bad user input, your program should flush the input stream (by repeatedly calling getchar until it sees a '\n'). This is easier to observe than it is to describe. Note that you can enter multiple numbers at once.
项目 ID: 6035808

关于此项目

3提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
I can complete the work with my expertise in C/C++ programming. I'll deliver the work in time with best quality.
$25 USD 在1天之内
5.0 (3条评论)
1.8
1.8
3威客以平均价$33 USD来参与此工作竞价
用户头像
I will do the task. . .
$45 USD 在2天之内
5.0 (9条评论)
4.0
4.0
用户头像
Hi I am expert in C++ and Algorithm I am regular contestants of Competition like TopCoder or Code chef I have am 100% sure that I can solve your problem Please check my past project reviews Thank You :)
$30 USD 在1天之内
5.0 (2条评论)
0.2
0.2

关于客户

UNITED STATES的国旗
SALEM, United States
5.0
6
付款方式已验证
会员自2月 27, 2014起

客户认证

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