Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 23 Not yet answered Marked out of 10.00 Flag question Section C Practical Instructions: Use Codeblocks / www.onlinegdb.com to write programs. Copy and paste
Question 23 Not yet answered Marked out of 10.00 Flag question Section C Practical Instructions: Use Codeblocks / www.onlinegdb.com to write programs. Copy and paste program in the answer part 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. N = 14 M+P M 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 5% of L equal to 9 if value of M is less than 9 and greater than or 2% of L equals to 4 if value of M is less than 4 1 % of L P Sample output: enter the values of L and M:24 L-2.980000 M-4.000008 P-0.040000 N-14.040000
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started