prompt the user for 10 grades
Repeat Loop (The grades must add a running total)
Perform calculations- Avg= total grades/10 (the number of grades) *outside the loop*
If statements- must show if the grades are A, B, C, D, F
Statement outside the loop
was wondering if anyone that uses Snap! from berkley can help me solve this

Respuesta :

Answer/Explanation:

I'm not from there. But I'll help :)

Here's a step-by-step guide on how to achieve this:

1. Create a loop to prompt the user for 10 grades and calculate the running total:

- Use a "Repeat 10 times" block to iterate the process for 10 grades.

- Inside the loop, prompt the user for each grade input and add it to a running total variable.

2. Calculate the average outside the loop:

- After the loop, divide the total sum of grades by 10 to calculate the average.

3. Determine the letter grade for each input grade:

- Use "If-Else" statements to compare each grade input to determine its corresponding letter grade (A, B, C, D, F).

- Assign the letter grade to each input grade based on predefined criteria.

4. Display the average and letter grades outside the loop:

- Finally, display the calculated average and the corresponding letter grades for each input grade.

Brainliest is always appreciated!
Hope this helps!