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
4.4k 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
3.5k points