520
Input
The first data line contains a title.
The remaining lines each contain a teller ID, an arrival time, and a service time.
The times are broken up into integer hours, minutes, and seconds according to a
24-hour clock.
Processing
Calculate the mean and the standard deviation.
Locate the shortest wait time and the longest wait time for any number of
records up to 100.
Output
The input data (echo print).
The title.
The following values, all properly labeled: number of records, mean, standard
deviation, and range (minimum and maximum).
4.Your history professor has so many students in her class that she has trouble
determining how well the class does on exams. She has discovered that you are
a computer whiz and has asked you to write an application to perform some
simple statistical analyses on exam scores. Your application must work for any
class size up to 100.
Write and test a computer application that does the following:
a.Reads the test grades from the file inData.
b.Calculates the class mean, standard deviation (defined in Programming
Problem 2), and percentage of the test scores falling in the ranges < 10,
10–19, 20–29, 30–39,... , 80–89, and ≥90.
c. Prints a summary showing the mean, the standard deviation, and a
histogram of the percentage distribution of test scores.
Input
The first data line contains the number of exams to be analyzed and a title for
the report.
The remaining lines have 10 test scores on each line until the last line, and 1–10
scores on the last line. The scores are all integers.
T
E
A
M
F
L
Y
Team-Fly®