List all of the variables that you will use use valid


Assignment

Your goal is to solve the following simple programming exercise.You have been contracted by a local stadium to design an algorithm determining the total seating charges for any game held at the stadium.Lower-level seats cost $25 per seat, mid-level seats cost $15 per seat, and upper-level seats cost $10 per seat.The algorithm should ask the user for the number of seats being purchased in each seating level.Then, the algorithm will determine the total for each level and a grand total for the entire purchase.

Be sure about the logic and design first (IPO chart, flowchart, and pseudocode).

Advanced (optional):Use constants for the per-seat cost for each level.

1) Variable List

List all of the variables that you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.

2) IPO Chart

List the inputs, any processes/calculations, and the outputs. Use the same valid variable names that you used in Step 1.

Inputs

Process (calculations)

Outputs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


1) Flowchart

Use MS Visio to create a flowchart. Paste the flowchart here or attach it as a separate document. Use the same valid variable names that you used in Step 1.

4) Pseudocode

Describe your solution using pseudocode. Use the same valid variable names that you selected in Step 1.

5) Desk-Check

Desk-check your solution by using the following sample data.

Lowerlevel seats 3
Midlevel seats 4
Upperlevel seats 5

Enter the expected outputs.
Expected total cost lower level ____________
Expected total cost mid level _____________
Expected total upper level ____________
Expected total for all seats _____________

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: List all of the variables that you will use use valid
Reference No:- TGS01031908

Expected delivery within 24 Hours