Question: < < < < < < < < < < < < < < < < < >>>>>>>>>>>>>>>>> Unit Conversion Description: Write a menu driven

<<<<<<<<<<<<<<<<< programme >>>>>>>>>>>>>>>>>>

Unit Conversion

Description:

Write a menu driven program with the following options:

1. Subject 1 (with atleast 5 units)

2. Subject 2 (with atleast 5 units)

3. Subject 3 (with atleast 5 units)

4. Subject 4 (with atleast 5 units)

5. Exit

Note: Go to the website http://www.onlineconversion.com and use the information from

There.

Subject means here length, temperature, etc. and the units are centimeters (cm), meters

(m), Fahrenheit, Centigrade, etc. Select any 5 units from any 4 subjects (Length,

Temperature, Speed, etc.) Found in the website mentioned above. After selecting the

Subject a sub menu needs to be shown with at least 5 units. Make last option as return to

Main menu and the program only exit from the main menu. Convert the values by giving

Options to a user which can be the 2 units and a value to be converted. Make the options

User-friendly and make all possible error checking in order to avoid mistakes. (Add 4

More subjects if you are doing the project in group of 2 students).

Save the output of each run in a file along with the details of when it was run (full date

And time). Give an option to the user for opening a new file (with new name or overwrite

The previous one) or append in a previous file.

Practice modular programming by writing functions whenever possible. Follow the

Convention concerning variable names. Insert comments wherever needed.

Hint: Use mode a or a+ in fopen function instead of w to append/accumulate the

Results.

Use different functions for each unit and make efficient use of files.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!