Wednesday, 12 August 2020

Program 26

 Program 26

Write a program that reads a list of temperatures from a file called temps.txt, converts those temperatures to Fahrenheit, and writes the results to a file called ftemps.txt.

 Program:

Place the file temps.txt file in the current directory

temps.txt

Output:

Output saved automatically to ftemps.txt in the current directory

ftemps.txt

 

No comments:

Post a Comment