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

Algorithm Development

The document outlines a pseudocode algorithm for calculating a student's outstanding balance based on their grade level and payment plan. It prompts the user for the student's name, ID, grade level, and payment plan, then determines the fee and applies adjustments based on the selected payment plan. Finally, it outputs the student's name and the calculated outstanding balance.

Uploaded by

missevans131
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)
2 views1 page

Algorithm Development

The document outlines a pseudocode algorithm for calculating a student's outstanding balance based on their grade level and payment plan. It prompts the user for the student's name, ID, grade level, and payment plan, then determines the fee and applies adjustments based on the selected payment plan. Finally, it outputs the student's name and the calculated outstanding balance.

Uploaded by

missevans131
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

Algorithm Development/Pseudocode

Pseudocode
BEGIN
OUTPUT "Enter Student Name"
INPUT SName

OUTPUT "Enter Student ID"


INPUT SID

OUTPUT "Enter Grade Level (7–13)"


INPUT Grade

OUTPUT "Enter Payment Plan (E, B, T)"


INPUT Plan

IF Grade >= 7 AND Grade <= 9 THEN


Fee ← 210000
ELSE IF Grade >= 10 AND Grade <= 11 THEN
Fee ← 270000
ELSE IF Grade >= 12 AND Grade <= 13 THEN
Fee ← 300000
ENDIF

IF Plan = 'E' THEN


Adjustment ← Fee * 0.10
FinalFee ← Fee - Adjustment
ELSE IF Plan = 'B' THEN
Adjustment ← Fee * 0.05
FinalFee ← Fee - Adjustment
ELSE IF Plan = 'T' THEN
Adjustment ← Fee * 0.075
FinalFee ← Fee + Adjustment
ENDIF

OUTPUT " Student Name: ", SName


OUTPUT "Outstanding Balance: $", FinalFee
END

You might also like