Need help with a while loops problem
Afficher commentaires plus anciens
So in my homework I was given this problem:
"Prompt the user to enter numeric grades (one at a time) within a while loop. Any number of grades can be entered.
• Determine the number of grades in each grade range using a standard 10 point scale: A (90 or higher), B (80-90), C (70-80), D (60-70), and F (0-60).
• Determine the maximum, minimum, and average grade.
• Display the results including the number of grades, maximum grade, minimum grade, and the number of grades in each grade range.
• Test the program for cases including 4 grades, 10 grades, and 20 grades with the grades reasonably distributed between the grades ranges."
And I could really use some help getting started!
Thanks so much!
3 commentaires
Geoff Hayes
le 2 Mar 2016
Hugh - please clarify what you need help with. Describe what you have attempted, including the code that you have written to solve this problem. If you are observing a particular error, then copy and paste the full error message to the body of this question.
Hugh Benfer
le 2 Mar 2016
Hugh Benfer
le 2 Mar 2016
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Scripts dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!