119k views
14 votes
Write code for a teachers grading system.

Ask the user for the numeric grade.

If a student receives a grade of a 90 or above, print out "you get an A."

If a student receives a grade of 80 or above, print out "you get a B."

Figure out the rest....


need help <3

User Netcyrax
by
8.8k points

1 Answer

7 votes
If a student receives a grade of a 90 or above, print out "you get an A."

If a student receives a grade of 80 or above, print out "you get a B."

If a student receives a grade of 70 or above, print out "you get a C."

If a student receives a grade of 60 or above, print out "you get a D."

If a student receives a grade of 50 or above, print out "you get an F."
User Gil Shulman
by
8.4k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.