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
Get step-by-step solutions from verified subject matter experts
