Submit pseudocode and a flowchart for the following programming exercise:

Test Average and Grade

Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Design the following functions in the program:

- calcAverage - This function should accept five test scores as arguments and return the average of the scroes.

- determineGrade - This function should accept a test score as an argument and return a letter grade for the score (as a string), based on the following grading scale:

Score Letter Grade

90-100 A

80-89 B

70-79 C

60-69 D

Below 60 F

Please try the next post, which I saw first.

Sra

write a flowchart to compute the mean and standard deviation of 1000 integer numbers

kflkf

To solve the given programming exercise, we can use the following pseudocode:

1. Start
2. Declare a variable `scores` as an array to store five test scores
3. Declare a variable `average` to store the average test score
4. Declare a variable `grade` to store the letter grade
5. Prompt the user to enter five test scores and store them in the `scores` array
6. Call the `calcAverage` function passing the `scores` array as an argument and store the result in the `average` variable
7. Display the average test score
8. For each score in the `scores` array:
a. Call the `determineGrade` function passing the score as an argument and store the result in the `grade` variable
b. Display the score and corresponding letter grade
9. End

Now, let's create a flowchart to visualize the above pseudocode:

```
+--------------------+
| Start |
+--------------------+
|
|
V
+--------------------+
| Declare scores |
| average, grade |
+--------------------+
|
|
V
+--------------------+
| Prompt for scores |
+--------------------+
|
|
V
+--------------------+
| Store scores in |
----> | scores array |
| +--------------------+
| |
| |
V V
+---------------------+ +--------------------+
| Call calcAverage() | | Call determineGrade() |
| with scores array | | for each score |
| as argument | | in scores array |
+---------------------+ +--------------------+
| |
| |
V V
+---------------+ +---------------------+
| Display | | Display score and |
| average score |<----| corresponding grade |
| and grades | | for each score |
+---------------+ +---------------------+
|
|
V
+--------------------+
| End |
+--------------------+
```

Note: The flowchart shows the basic structure of the program. The specific implementation may vary based on the programming language being used.