Question: Section-C Answer the following questions. Write/ Copy Paste the program in the space provided or upload the file. (10 Marks) Instructions: Use Codeblocks / www.onlinegdb.com

Section-C Answer the following questions. Write/ Copy Paste the program in the space provided or upload the file. (10 Marks) Instructions: Use Codeblocks / www.onlinegdb.com to do the programs. Write a C program to read two floating point numbers T and Ffrom the console and find the value of K using the following formula and if else if ladder. K = 3VT - 4F2+P P If valueof T is more than orequals 10% to25 of F IfvalueofT isless than 25 and greater 5% than or equal to 16 of F 74.0 : OMANTEL I.. = formula and if else if ladder. K = 3T - 4F2 + P P If valueof T is more than orequals 10% to 25 of F Ifvalueoft isless than 25 and greater 5% than or equal to 16 of F Ifvalueof T is less than 16 and greater than or equals to 9 2% of F Ifvalueof 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.7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
