Professional Documents
Culture Documents
Program 1 Planning
Program 1 Planning
Planning-
Analysis-
Inputs- Movie Name, Number of tickets (adults, seniors, and childrens) sold.
Outputs- Movie Name, Number of tickets (adults, seniors, and childrens) sold, Gross and Net
income, Income of distributor
Formulas- (AT x 9.5) + (ST x 6.75) + (CT x 6.0) = Gross Income, (GI x 0.2) = Net Income, (GI x 0.8) =
Income of distributor
Assumptions- User inputs Name, number of tickets, price for movie always the same, percent
paid to distributor always the same
Design-
Get Input
Find Profit
2.1 (AT x 9.5) + (ST x 6.75) + (CT x 6.0) = GI
2.2 (GI x 0.2) = NI
2.3 (GI x 0.8) = DI
Print Output
3.1 Print movie name
3.2 Print number of tickets (adults, seniors, and childrens) sold
3.3 Print Gross Income
3.4 Print Net Income
3.5 Print Distributors Income