Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This one is C program, need help in doing the coding, pls!! Exercise 2 Write a program that reads a set of floating-point values. Ask

image text in transcribed

This one is C program, need help in doing the coding, pls!!

Exercise 2 Write a program that reads a set of floating-point values. Ask the user to enter the values, then print: The largest value The smallest value The average of the values The range, i.e. the difference between the largest and the smallest The program will terminate if a negative value is entered. If Matric. No. A144313, test for inputting the 6 digits of your Matric No. Test also for another set of floating point values based on your Matric. Noie. {1.4, 4.3, 1.3} and also another set of four values. Include the output of your program in your report

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

Step: 3

blur-text-image

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 Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

=+ (b) Find an example where u is not countably subadditive.

Answered: 1 week ago

Question

4. Explain the strengths and weaknesses of each approach.

Answered: 1 week ago

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago