Question: the program can't run correct, thanks. c + + , writing a program that stores a list of scores and the corresponding letter grades in

the program can't run correct, thanks.
c++,writing a program that stores a list of scores and the corresponding letter grades in two parallel arrays. The scores will be double data type and the letter grade will be a char data type.
**
Welcome to my Parallel Arrays program!
Please enter the list of scores (-1 to end input:)
Valid scores are between 0 and 4 inclusive.
>>3.5
>>2.7
>>3.3
>>2.5
>>3.2
>>1.5
>>4.0
>>3.7
Your stats are as below:
The list of scores and their grades are:
3.5 A
2.7 C
3.3 B
2.5 C
3.2 B
1.5 D
4.0 A
3.7 A
The list sorted by scores in ascending order:
1.5 D
2.5 C
2.7 C
3.2 B
3.3 B
3.5 A
3.7 A
4.0 A
The median score is 3.25
Thank you for using my Parallel Arrays program!!
Welcome to my Parallel Arrays program!
Please enter the list of scores (-1 to end input:)
Valid scores are between 0 and 4 inclusive.
>>3.5
>>2.7
>>3.3
>>4.5
Invalid score! Please try again!!
>> abc
Invalid score! Please try again!!
>>3.2
>>1.5
>>4.0
>>3.7
>>4.0
Your stats are as below:
The list of scores and their grades are:
3.5 A
2.7 C
3.3 B
3.2 B
1.5 D
4.0 A
3.7 A
4.0 A
The list sorted by scores in ascending order:
1.5 D
2.7 C
3.2 B
3.3 B
3.5 A
3.7 A
4.0 A
4.0 A
The median score is 3.40
Thank you for using my Parallel Arrays program!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!