Student'S Grade: Created By: Viray, Axcle Libron
Student'S Grade: Created By: Viray, Axcle Libron
string name=” ”
string section= “ “ STUDENT’S GRADE
float g1, g2, g3, g4, g5, g6, g7, g8, GenAve= 0
string rating= “ ”
string status= “ “
string choice= “ “ B
INPUT:
Get the student’s name OUPUT:
A Get the student’s section NO “Thanks and have a
Does the user wanted to enter
Get all the 8 grades of the student’s nice day”
another student information?
“With love __” [name
of the programmer]
T
Is GenAve >= 75.00 OR rating = ”PASSED”
GenAve <= 100.00? status = “PROMOTED STUDENT”
F OUTPUT:
• Display student’s name
• Display student’s section
T
Is GenAve >= 60.00 • Display student’s general
rating = ”FAILED” B
OR GenAve <= 74.99? average(with 2 decimal
places)
• Display student’s rating
F • Display student’s status