Five from:
MP1 Prompt and input for number of rectangles making up the patio ?
MP2 ? and the type of stone to be used
MP3 Loop to input dimensions for rectangles
MP4 Prompt and input for dimensions for each rectangle inside loop
MP5 Calculation of area of a rectangle
MP6 Running total of area of patio
MP7 Looking up the cost of the stone
MP8 Calculation of cost of stone ?
MP9 ?rounded up to the nearest square metre
MP10 Output of cost of patio with annotation
Example
TotalCost ← 0
OUTPUT "Please enter type of stone needed"
INPUT StoneType
OUTPUT "Please enter the number of rectangles needed"
INPUT NumberRectangle
FOR Counter ← 1 TO NumberRectangle
OUTPUT "Please enter the length"
INPUT Length
OUTPUT "Please enter the Width"
INPUT Width
TotalCost ← TotalCost + CostFromTask1(Length, Width,
StoneType)
// use Task 1 to calculate cost
NEXT Counter
OUTPUT ("Total Cost of Patio " TotalCost