[Solved] : Question 10014

Write a program to convert temperature in Fahrenheit to temperature in Celsius
and vice versa according to the user’s preference. The formula for the conversion in one
direction is as follows:
Tc = (5/9) * (Tf – 32)
Check the correctness and allowed scope of the entered data.
Let the user enter data from a file and write the conversion next to the initial value. For
example, if the user needs to convert F to C, create a file named FtoC.txt with random
Fahrenheit values. Read the file from your program and write next to each F value the C
conversion. Do this for CtoF as well.


Expert Answer


Answer to : Question 10014

Leave a Comment

About

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