0% found this document useful (2 votes)
525 views2 pages

ITP 100 Project-Part2-Simple-Selection

The document outlines the requirements for an ITP 100 class project involving pseudocode to calculate a student bill for course registration. The project is broken into 5 parts: 1) Prompt for student ID and 3 course titles and display bill total 2) Add functionality to allow adding courses one at a time with a loop 3) Add logic so the 3rd course is free if 3 courses are added 4) Modify to use arrays for storing course titles and costs to calculate total 5) Break solution into modules for student ID, calculating bill, and printing bill

Uploaded by

tumi50
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (2 votes)
525 views2 pages

ITP 100 Project-Part2-Simple-Selection

The document outlines the requirements for an ITP 100 class project involving pseudocode to calculate a student bill for course registration. The project is broken into 5 parts: 1) Prompt for student ID and 3 course titles and display bill total 2) Add functionality to allow adding courses one at a time with a loop 3) Add logic so the 3rd course is free if 3 courses are added 4) Modify to use arrays for storing course titles and costs to calculate total 5) Break solution into modules for student ID, calculating bill, and printing bill

Uploaded by

tumi50
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ITP 100 Project – Part 2 – Simple Sequence and Selection Structure

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 Student’s ID and a total bill.

 Bill a student using the following rules:


o Students can only add up to 3 classes at a time.
o Each class costs $150.00
o A 5% technology fee is added to the total cost.
o 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.
o If the student adds more than three classes, an error message is printed.
 Save the file as ITP100Project-Part2-LastName.doc (where LastName is your last name)

Submit for a Grade:

 Upload the ITP100Project-Part2-LastName.doc file to the ITP100_Project_Part2 file upload area.

ITP 100 Project – Part 3 – Iteration Structure


Modify the pseudocode design that you created in ITP 100 Project – Part 2 to include statements to
prompt the user to enter the class title one class at a time. After the customer has finished entering the
class titles, the system will calculate and print the bill. Hint: use a loop to add the class titles.

 Add the statement(s) for the following: If customer add 3 classes, they receive 1 of the three
classes for free.

Save the file as ITP100Project-Part3-LastName.doc. Where LastName is your Last Name.

Submit for a Grade:

 Upload the ITP100Project-Part3-LastName.doc file to the Blackboard ITP100_Project_Part3 file


upload area..
Project – Part 4 – Arrays
Modify the pseudocode design that you created so far for your ITP 100 Project. To do the following :

 As the student adds courses, load an array named courses[ ] with the course name.
 As the student adds courses, load a parallel array named cost[ ] with the cost of that course.
 Use the cost[ ] array to calculate the total bill. Be sure that you are not duplicating the totaling
logic in you project solution. It should be clean, simple code.

Save the hierarchy chart as ITP100Project-Part4-Hierarchy-LastName.doc

Save the pseudocode design using the filename ITP100Project-Part4-LastName.doc

Submit for a Grade:

 Upload the files ITP100Project-Part4-Hierarchy-LastName.doc and ITP100Project-Part4-


LastName.doc file to the ITP100_Project_Part4 file upload area.

Project – Part 5 – Modules


Modify the pseudocode design that you created in ITP 100 Project – Part 4 to include at least the
following modules.

 studentID – to Enter the Student ID


 calcBill – to Calculate the Bill
 prtBill – to Print the Bill

After the student has finished entering the course titles, the system will calculate and print the bill.

Create a hierarchy chart for the modules. Save the hierarchy chart as ITP100Project-Part4-Hierarchy-
LastName.doc

Save the pseudocode design using the filename ITP100Project-Part4-LastName.doc

Submit for a Grade:

 Upload the files ITP100Project-Part4-Hierarchy-LastName.doc and ITP100Project-Part4-


LastName.doc file to the ITP100_Project_Part4 file upload area.

You might also like