首页 > > 详细

辅导Programming编程、Python程序设计辅导、Python讲解 辅导R语言程序|辅导R语

项目预算:   开发周期:  发布时间:   要求地区:
Programming guidelines
1.Use Any Python IDE you wish.

Requirements
1.Allow user to input an integer from 0 -> 2,000,000,000.
2.Validate the input. If input is invalid, make them enter a value again.
3.Processing
4.Use the Division method for converting Decimal to Binary, and to Hex.
a.Divide the quotient by 2.
b.Get the remainder after dividing by 2. Save the remainders. They are the answer.
5.Loop and divide the test number by 2. Loop until the quotient is zero.
6.Note: Remember remainders are given in reverse order (LSB first).
7.Output
a.At beginning of the program, display some kind of welcome message, stating to the user what this program does.
b.When printing the results, display both the original integer value and the calculated binary and hex values. Display the output in a nice format.
8.Testing - Extensively test your program. Test with all type of integers values; valid and invalid data.

软件开发、广告设计客服
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 9951568
© 2021 www.rj363.com
软件定制开发网!