Question: 23 Section-C Answer the following questions. Write / Copy Paste the program in the space provided or upload the file. (10 Marks) Instructions: ut of
23 Section-C Answer the following questions. Write / Copy Paste the program in the space provided or upload the file. (10 Marks) Instructions: ut of Use Codeblocks / www.onlinegdb.com to do the programs. 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 - 4F2 + P T P If value of T is more than or equals to 25 10 % of F If value of T 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 T is less than 9 1% of F Print the values of T,F,P and K. SAMPLE OUTPUT: enter the values of T and F:3.0 4.5 T-3.000000 F-4.500000 P-0.045000 K-75.758850
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
