I need help on this project ASAP as its submission date is a

I need help on this project ASAP as its submission date is already passed

The previous attempted answer was not full.

Arrays

Only the pseudo code is needed. Not any specific language.

Modify the belw code

Enter the ClassTitle into an array named Classes and Number of Seats into an array named 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)

//Calculate the total bill

Call CalcTotalBill(real total)

//Display the bill

Call displayTotalBill(Intege studentId,real total)

End Module

Module getStudentID(Ref Integer StudentId)

//Get Student Id

Display “Please enter your student ID “

Input studentID

End Module

Module CalcTotalBill(Ref Real total)

//Declare variables

Declare String class1, class2, class3

Declare Real workhour

         Declare Integer numOfClasses

//Get number of hours working

Display “how many hours do you work?”

Input workHours

//Get number of classes and calculate total

Display “how many classes do you want to take?”

Input numOfClasses

Select numberOfClasses

Case numOfClasses== 3:

For 1 to 3 Step1

Display “please enter Class name”, count

Input Class1, Class2, Class3

End For

if workHours > 20

Display “please make an appointment with a faculty advisor”

Else

Set total = (cost * 3) + ((cost * 3) * techFee)

End if

Case numOfClasses == 2:

For 1 to 2 Step 1

Display “please enter Class name”, count

Input Class1, Class2

End For

Set total = (cost * 2) + ((cost * 2) * techFee)

Case numOfClasses ==1:

Display “please enter class’s name”

Input class1

Set total = cost + (cost * techFee)

Default:

Display “You Can choose only a maximum of three classes”

End Module

//Accepts the parameter

Module displayTotalBill(Integer studentId,Real total)

//display the student id and the total bill.

      Display “your student ID is: “, studentId, “and your total cost is:”, total, “dollars.”

       End Module

Only the pseudo code is needed. Not any specific language.

Solution

Enter the Student Id
id=getId()
Display add to class,drop class or display schedule
   input=getinput()
if input==add a class
Enter name of the class:
name=getname()
Classes[]={name}
Enter the number of seats:
number=getNumber()
ClassSeats[]={number]
//Get other input as required and set them in variable

else if input==drop class
   print the class has been dropped;
number=Call CalcTotalBill(real total)
print number
number= call TotalNoOfSTudents()
print number
number=call averageNoOfStudents
print number

I need help on this project ASAP as its submission date is already passed The previous attempted answer was not full. Arrays Only the pseudo code is needed. Not
I need help on this project ASAP as its submission date is already passed The previous attempted answer was not full. Arrays Only the pseudo code is needed. Not
I need help on this project ASAP as its submission date is already passed The previous attempted answer was not full. Arrays Only the pseudo code is needed. Not

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site