Project – Part 5 – ArraysModify the pseudocode design that you created in ITP 100 Project – Part 4 to include at least thefollowing modules.ClassSeats. The information for the Classes is stored in the ITP100ClassName_LastNamefile. (ClassSeats = -999 when end the file is reached)Update Classes inventory (add to inventory/deduct from inventory)Calculate and print the student’s bill.Calculate
...[Show More]
Project – Part 5 – Arrays
Modify the pseudocode design that you created in ITP 100 Project – Part 4 to include at least the
following modules.
ClassSeats. The information for the Classes is stored in the ITP100ClassName_LastName
file. (ClassSeats = -999 when end the file is reached)
Update Classes inventory (add to inventory/deduct from inventory)
Calculate and print the student’s bill.
Calculate and print the total number of students in each class.
Calculate and print the average number of students in each class.
The student will be prompted to enter their student ID and whether they want to add a class, drop a
class or display their schedule.
Add a class - after the student has finished entering the class title(s), the system will calculate and
print the bill.
Drop a class – a message is printed on the screen after dropping the class.
//Declare constants
Constant Real cost = 150.00
Constant Real techFee = 0.05
Module Main ()
//Local Variables
Declare Integer studentId,
Declare Real total
//get student Id
Call getStudentId(Integer studentId)
//request the student’s intention.
Display menu Add class, Drop class and Display schedule
If menu==1
//Calculate the total bill
Call CalcTotalBill(real total)
//Display the bill
Call displayTotalBill(Integer studentId,real total)
[Show Less]