Question: Write a C program to read two floating point numbers T and F from the console and find the value of K using the following

 Write a C program to read two floating point numbers T

Write a C program to read two floating point numbers T and F from the console and find the value of K using the following formula and if else if ladder. K= -3/T + 5* F3 2* P T P If value of T is more than or equals to 25 10 % of F. If value of I is less than 25 and greater than or equal to 16 5 % of F If value of T is less than 16 and greater than or equals to 9 2 % of F If value of I is less than 9 1 % of F Print the values of T, F,P and K. SAMPLE OUTPUT: enter the values of I and F:4 2 T=4.000000 F=2.000000 P=0.020000 K=33.959999

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!