[Solved] : Question 15783

Write a function for the following:
function that returns a value:
1.Convert whole number to decimal
Ex. 10
Output: 0.1
2. Convert decimal to whole number
Ex. 0.05
output: 5
The main program
3. Display the following:
[D] Convert whole number to decimal
[W] Convert decimal to whole number
[E] Exit
Enter your choice
Using switch call the functions

Thank you!

Expert Answer

Answer to : Question 15783

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?