BTTP needs an application to help them calculate the cost of paving. Enter the size of
the area to be paved in square meters as well as the cost of paving per square meter.
3.1. Write a pseudocode as shown in the table below. (10)
BTTPApp
NO METHOD NAME DESCRIPTION MARK
1 main This function displays the results by calling
the required methods.
6
2 calculatePavingCost This function calculates the cost of paving
as explained in the problem statement.
4
3.2. Convert the pseudocode solution for Question 3.1 into a C++ program.
Comments
Leave a comment