1. During this course you will design a program for a state university. The university wants to encourage students to take advantage of co-curricular offerings like athletic events, concerts, plays and guest speakers. The elements will correspond with the concepts and skills you learn that week.

According to the university’s design request, students need to attend five events each semester. Athletic tickets are $10 each, concerts are $15, plays are $15 and guest lectures are free. The university offers up to a $25 discount on the total order. You need to design a program that will prompt students for the type of each of the five events and display the total cost after the discount. Note that students may attend any mix of the events but must attend five.

Create a 1- to 1 3/4-page document listing the steps needed to solve the problem using an algorithm, including the following:

Identify the input needed

Define what the input must do (i.e., the process)

Show what the output must produce

Create a 1/2- to 1-page document of your pseudocode based on the algorithm, including the following:

Write the pseudocode statement(s) for the input

Write the pseudocode statement(s) for the process

Write the pseudocode statement(s) for the output

Create a 1-page flowchart based on the algorithm, including the following:

Mark the program’s starting point

Represent the input steps in the program

Represent the process steps in the program

Represent the output steps in the program

Mark the program’s ending point

2. The university reassessed its needs for the event application and determined it will no longer require all students to attend five and only five events, but will instead encourage students to attend five or more. Students will receive up to a $25 discount if they attend at least five events and they will receive an additional 10% discount on the entire order if they attend at least ten. So, for instance, if a student buys tickets for 12 events that total to $200, he or she will receive a $25 discount to take the price down to $175 and then will receive 10% that for a final cost of $157.50.

Update the website program to reflect the following changes:

Use a while loop to prompt the student for the type of each event he or she wishes to attend

After the type has been entered, add that amount to the total.

Use an if statement to apply the $25 discount if the student ordered at least five events (and the cost is $25 or more — otherwise the discount is the total cost). Also use an if statement to apply the additional 10% for odering ten or more events.

Display the total cost

Create a 1/2- to 1-page document containing pseudocode based on the revised program needs. Add this to the revised program pseudocode from the Week One Individual Assignment, Problem Solving with Algorithms.

Create a 1-page flowchart based on the algorithm for the revised program needs. Add this to the revised program flowchart from the Week One Individual Assignment, Problem Solving with Algorithms.

© 2018 |** Intelli Essays Homework Service®**