We have 5 quiz grades and we will calculate the average. Then we will spit out a grade based on the averages.

First start with entering our random ranges for our quizzes.

Then I will average all of the grades out.

Now we did a simple if-else statement to check the averages and return values. It’s important to include the greater or equal to sign just in case you get a score than lands on let’s say 80.