Need help with a while loops problem
이전 댓글 표시
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
Geoff Hayes
2016년 3월 2일
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
2016년 3월 2일
Hugh Benfer
2016년 3월 2일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Scripts에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!