dolution

dolution.

Write a program that reads 20 floating-point values. Ask the user to enter the values (prompting only a single time for the values), then print

a the average of the values.
b the smallest of the values.
c the largest of the values.
d the range, that is the difference between the smallest and largest. 1
Your program should use a class DataSet. That class should have an array numbers that stores the 20 double values. The class should also, have a constructor (to instantiate an object of the class) and the following methods: o
a add (double value),
b getAverage (),
c get Smallest(),
d getLargest(), and
e getRange () O O

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

dolution

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"