Question: Create a pseudocode design to prompt a student for their Student ID and the titles of the three classes they want to add. The solution
Create a pseudocode design to prompt a student for their Student ID and the titles of the three classes they want to add. The solution should display the Students ID and a total bill.
- Bill a student using the following rules:
- Students can only add up to 3 classes at a time.
- Each class costs $150.00
- A 5% technology fee is added to the total cost.
- If the student is taking three classes and working for more than 20 hours per week, a message displays prompting the make an appointment with their faculty advisor.
- If the student adds more than three classes, an error message is printed.
I would like someone to check my work to make sure the spacing or capitals are correct.
Print Enter the student ID
Get student ID
NoC = 1 // NoC = Number of Classes
Print Enter the class titles
Get Class_title [NoC]
Print Do you want to enter more classes? Y/N
IF Y Then
Increment NoC
GOTO 4
If NoC>3 Then
Print More than allowed courses included. Start again
Bill Calculation:
Cost = 150*NoC
Tech_cost = cost*0.05
Total_cost = cost + tech_cost
Print number of hours working a week
Get NoH // NoH = Number of Hours
If NoC = = 3 and NoH > 20
Print Make an appointment with faculty advisor
Print Student ID and Total Bill
finish
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
