Reference no: EM132356434
Question
Three gymnasts, Amy, Beth and Connie, compete in a meet. Each gymnast receives two scores from the judges.
(a) Ask the user to enter six scores: two scores for each gymnast.
(b) List named scores. This is a list of lists. It has three elements. The first element is the list of Amy's scores. The second element is the list of Beth's score. The third element is the list of Connie's score.
(c) Display every score stored in the list scores in a separate line.
The following is an example.
Enter first score of Amy: 14.7
Enter second score of Amy: 14.3
Enter first score of Beth: 13.6
Enter second score of Beth: 12.5
Enter first score of Connie: 12.9
Enter second score of Connie: 12.8
Scores of Amy:
14.7
14.3
Scores of Beth:
13.6
12.5
Scores of Connie:
12.9
12.8