0% found this document useful (0 votes)
54 views1 page

Student'S Grade: Created By: Viray, Axcle Libron

This document outlines a program to calculate a student's grades and determine their rating and status. It takes in a student's name, section, and 8 grades as input. It then calculates the general average and determines if the student passed, failed, or received an honor status based on thresholds. It outputs the student's information and rating/status. The user is then prompted if they want to enter another student's information to repeat the process.

Uploaded by

Axcle Viray
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views1 page

Student'S Grade: Created By: Viray, Axcle Libron

This document outlines a program to calculate a student's grades and determine their rating and status. It takes in a student's name, section, and 8 grades as input. It then calculates the general average and determines if the student passed, failed, or received an honor status based on thresholds. It outputs the student's information and rating/status. The user is then prompted if they want to enter another student's information to repeat the process.

Uploaded by

Axcle Viray
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

START

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]

GenAve = (g1+g2+g3+g4+g5+g6+g7+g8)/8 YES


A END

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

Is GenAve >= 90.00 OR GenAve <= 100.00


T status = “PROMOTED
AND
HONOR STUDENT”
All 8 grades is >=85.00 OR All 8 grades is <= 100.00?

Is GenAve <=59.99 OR rating = ”INVALID GRADE”


GenAve >=100.01? status = “INVALID GRADE” Created by:
Viray, Axcle Libron

You might also like