Question: write a c + + program using printf and scanf, math.h and stdio.h that showing the same output as picture with spacing between 5 .

write a c++ program using printf and scanf, math.h and stdio.h that showing the same output as picture with spacing between5.4.4 Exercise 4: Flow Rate Problems
Write a program that will output the flow rate (Q) of FT-101 and FT-102 in litres/min given the
differential pressure measurement from the transmitters. Also calculate the rate at which V-101
is changing in % of the vessels capacity as an absolute value. You will need to use functions
that are in the "math.h" library.
Flow Rate Formula: Q=C2P
Where:
Q= Flow rate in litres ?min
C for FT-101 is 56.57
C for FT-102 is 48.99
P= differential pressure in inc
V-101 capacity is 875.0 litres
Write a program that:
Reads the differential pressure signal from FT-101 and FT-102(user inputed)
Calculate the flow rates of FT-101 and FT-102 in litres per minute (lpm)- formula
above.
Calculate rate of change in V-101 in percent (make this always be a positive number -
hint: need a function from the math.h > library). The rate of change will be the
difference in the flow rates over the capacity of the vessel.
Display the results formatted to match the sample output.
Your program should contain:
Your name, lab #, program description and comments for blocks of code:
You can use the single line comment (//) or the multi line comment (/*...*/)
Good spacing of sections of code
Proper indentation of lines of code
Good variable names (descriptive, but not too long)
Sample Output 1:
Sample Output 2:
 write a c++ program using printf and scanf, math.h and stdio.h

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!