Vous êtes sur la page 1sur 1

CSEB113 Principles of Programming

Section 1 and 2

Chapter 2 Exercise Question


1.

Tile Limited wants a program that allows its salesclerks to enter the length and width (in feet) of
a rectangle and the price of a square foot of tile. The program should display the area of the
rectangle and the total price of the tile. Design the pseudocode and flowchart.

2.

You require a program that will read in a tax rate (as a percentage) and the prices of five items.
The program is to calculate the total price, before tax, of the items and then the tax payable on
those items. The tax payable is calculated by applying the tax rate percentage to the total price.
Print the total price and the tax payable as output. Design the pseudocode and flowchart

RR Sem 2 2014/2015

Vous aimerez peut-être aussi