hts.StevenWood.com

[ Last Page ]

Example

The question:

The Pacific Gymnastic Meet at BC Place starts next week. The seating cost are: orange seats $23.50,, brown seats $19.75, and yellow seats $16.55. There is a tax of 6% on all seats.

Pseudocode

Enter number of tickets

Enter colour of seats needed

If the colour is orange then the price is $23.50

If the colour is brown then the price is $19.75

If the colour is yellow then the price is $16.55

Cost = number of tickets x price

Tax = Cost x 6%

Total cost = Cost + Tax

Tell the number of tickets, Tax, and total cost

 

Review Question, 

Problem Definition Table

IPO Chart

Algorithm:

Flowchart

Pseudocode

[Last Page]
All material on this site is copyright © 1997- by Steven Wood or as credited. All right reserved. Use of this site indicates you agreement with the  terms of use.
Send comments or questions to about this page.
Every attempt has been made to credit work under copyright. If there are any claims that copyright has been missed please contact the .
+SDG+