Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions