Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is all one question Practical Instructions: Use Codeblocks / www,onlinegdb.com to write programs. Copy and paste program in the answer part. Write a C

image text in transcribed

image text in transcribed

image text in transcribed

this is all one question

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 L and M from the console. Find and display the value of N using the following formula. (Use if..else ..if structure ) N = L^ - M+1 M If value of Mis more than or equals to 16 If value of M is less than 16 and greater than or equal to 9 If value of M is less than 9 and greater thar equals to 4 = (+P P 0 16 10 % of L Iter than or 5 % of L er than or 2% of L 1 % of L 4 beo N=14.040000 N = L^ - M+1 M If value of M is more than or equals to 16 If value of M is less than 16 and greater than or equal to 9 If value of M is less than 9 and greater than or equals to 4 If value of M is less than 4 Sample output: enter the values of L and M:24 L=2.000000 M=4.000000 P=0.040000 N=14

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

8. Do the organizations fringe benefits reflect diversity?

Answered: 1 week ago