Write a function that takes one string made of numbers


Use one project to implement all of these sub-assignments.

1. write a function that takes one string made of numbers separated by comma. the function returns an integer of the total of the numbers.

2. given the function above exists, write a function that takes one string made of numbers separated by comma; the function uses function 1 above, then returns the average of the numbers.

3. write a function that takes one string made of numbers separated by comma. the function must return an integer of the minimum of the numbers.

4. write a function that takes one string made of numbers separated by comma. the function must return an integer of the maximum of the numbers.

5. write a function that takes one string made of numbers separated by comma. the function must return a string of the numbers in reverse order (extra credit = 2)

6. write a function that takes one string made of numbers separated by comma. this function must use the functions above to return a string similar to the table below:

Statistics:
average is avg
Max is m
Min is l
there are n numbers below average.

where avg is the average of the numbers and
n is the number of numbers that are < avg and
m is the maximum of all numbers, and
l is the minimum of all numbers.

Create buttons on the form as needed to use the functions above and display the output, and get the numbers from the user via a textbox.
Assume the user will enter numbers separated by comma. 

Solution Preview :

Prepared by a verified Expert
Software Engineering: Write a function that takes one string made of numbers
Reference No:- TGS0666623

Now Priced at $40 (50% Discount)

Recommended (91%)

Rated (4.3/5)