You are on page 1of 2

Pooja Persaud|0901000612

PSUEDO CODE
Program Name: Back_To School_Special
Description: This program is created to show parents their tuition due that has to be paid.
Variables:
Stud_Fname, Stud_Lname, Pmt_Plan, Grade Level, Status is of type string.
Tuition, Number of discount student is of type long integer.
Discount, Discount_Amt, Tuition_Due, Total Discounts, Avg_Discount is of type real.

BEGIN
Output “Please enter the Student First Name”
Input “Stud_Name”
Output “Please enter the Student ID”
Input “Stud_ID”
Output “Please enter the Grade”
Input “Grade”
Output “Please enter the Grade Level”
Input “Grade Level”
Output “Please enter Payment Plan”
Input “PMT_PLAN”
Output “Please enter the Status”
Input “Status”
Generate Tuition and Grade Level
If Grade Level <=9
THEN Tuition= 120,000 and Grade Level= Lower School
ELSE
If Grade Level <=11
THEN Tuition= 170,000 and Grade Level= Upper School
ELSE Tuition= 200,000 and Grade Level= Sixth Form
Pooja Persaud|0901000612

Generate Rate
If Payment Plan= E-full
THEN Discount= -0.1 (10%)
If Payment Plan= Bi-Payment
THEN Discount= -0.05 (5%)
If Payment Plan= Tri-Payment
THEN Discount= -0.05 (5%)
Discount Amount:= Tuition*Discount Percent
Tuition Due:= Tuition + Discount Percent
If Status= Discount Due
THEN
Output “**********************”
Output “Student First Name” STUD_FNAME
Output “Student Last Name” STUD_LNAME
Output “Student ID” STUD_ID
Output “Grade Level” GRADE LEVEL
Output “Grade” GRADE
Output “Tuition” TUITION
Output “Payment Plan” PMT_PLAN
Output “Status” STATUS
Output “Discount” DISCOUNT
Output “Discount Amount” DISCOUNT_AMT
Output “Tuition Due” TUITION DUE
Output “Average Discount” AVG_DISCOUNT
Output “*********************”

You might also like