Question: 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

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 programs. Write a C program to read two floating point numbers Land M from the console. Find and display the value of N using the following formula. M P If value of M is more than or equals to 16 10 % of L If value of M is less than 16 and greater than or equal to 95% of L If value of M is less than 9 and greater than or equals to 4 2 % of L If value of M is less than 4 1 % of L N = 14 M+P Print the values of L,M,P and N. SAMPLE OUTPUT: enter the values of Land M:24 L=2.000000 M=4.000000 P=0.040000 N=14.040000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
