Question: Question: Write a fortran code which reads temperature and pressure data in the file named input.dat and finds average, median, maximum and minimum values from
Question: Write a fortran code which reads temperature and pressure data in the file named "input.dat" and finds average, median, maximum and minimum values from data and prints the results on the screen and in the file named "output.dat". The user should be able to choose what to print with the SELECT CASE structure. Please do not forget that running the code is mandatory. input.dat Temperature Pressure 21.5 1005.6 15.7 1007.3 18.9 998.1 25.1 10104 23.0 1002.9 20.6 1012.8 14.0 1008.6 16.4 1001.3 19.5 1012.5 22.9 997.4 15.9 10012
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
