Question
Lab 1 Write a program using any language (Java, Python, C/C++) to help you convert from binary, octal, hexadecimal and decimal numbers. Your program would
Lab 1
Write a program using any language (Java, Python, C/C++) to help you convert from binary, octal, hexadecimal and decimal numbers.
Your program would
ask the users to enter a number
ask the users what kind of number it is (binary, octal, hexadecimal or decimal)
check to make sure the number is legal (a decimal number contains only 0-9)
convert the number to the other 3 types
To challenge yourself, your program should also handle floating numbers. It is not required.
NOTE: As always, properly document your program. Add in headers. Add in comme
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started