A bit confused on where to begin this program. I'm confused by the information I'm being given I think? Honestly I'm not sure. I need to write the program in pseudocode."A dramatic theater has three seating sections. It charges section A seats 20$ each, section B seats 15$ each, and section C seats 10$ each. There are 300 seats in section A, 500 seats in section B, and 200 seats in section C. Design a program that asks for the number of tickets sold in each section, then display the amount of income generated from ticket sales. The program should validate the numbers from each section."I think I know how to finish the program but I'm not sure where I should start. I don't know what variables to declare and I don't know if I need to declare ALL the variables, if any, before the "While" loop.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.5: A Closer Look: Loop Programming Techniques
Problem 15E: (Program) Write a program to simulate the rolling of two dice. If the total of the two dice is 7 or...
icon
Related questions
icon
Concept explainers
Question

A bit confused on where to begin this program. I'm confused by the information I'm being given I think? Honestly I'm not sure. I need to write the program in pseudocode.

"A dramatic theater has three seating sections. It charges section A seats 20$ each, section B seats 15$ each, and section C seats 10$ each. There are 300 seats in section A, 500 seats in section B, and 200 seats in section C. Design a program that asks for the number of tickets sold in each section, then display the amount of income generated from ticket sales. The program should validate the numbers from each section."

I think I know how to finish the program but I'm not sure where I should start. I don't know what variables to declare and I don't know if I need to declare ALL the variables, if any, before the "While" loop.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning