#when i arrive to the if else condition i am stick.

3 messages · Page 1 of 1 (latest)

compact dirge
#

Write a program that lets a student to enter his grade on exam1 (25%)
and exam 2 (35%) as integers. This program then should inform the student about the minimum grade, if
possible, he/she should achieve on the final exam (40%) in order to get a C, C+, B, B+ and an A.

Grade Letter Grade
90.0-100 A
85.0-89.99 B +
80.0-84.99 B
75.0-79.9 C +
70.0-74.99 C

Sample run:
Enter your grade on Exam1 over 100 (25%): 84
Enter your grade on Exam2 over 100 (35%): 67
You need on the final exam over 100 at least:
63.875 To get a C
76.375 To get a C+
88.875 To get a B
Impossible to get a B+
Impossible to get an A

hidden elbowBOT
#

Hey, @compact dirge!
Please remember to /close this post once your question has been answered!