C++ The program needs to use switch or other functions that can do these: For example the user wants to use the binary option the user will press 1 on keyboard then the out put will show like this....



C++



The program needs to use switch or other functions that can do these:


For example the user wants to use the binary option the user will press 1 on keyboard then the out put will show like this.


The user press 1
Output:Please enter the binary:
/ this below will convert the binary/
The decimal value of the binary: --
The octal value is:
The hexa value is:
End


(The user Rerun program)


Now the user press 2:
Output:
Input the decimal value:
The binary of that is:
The octal value is:
The hexa decimal value is:
End.


(The user Re run program)


The user press 3.
Output:
Input the octal value:
The binary of that is:
The decimal value is:
The hexa decimal value is:


End


(The user Rerun program)
The user press 4
Input a hex value:
The decimal is:
The octal is:
The binary of that is:
End.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here