Answer
Add the following statement to the end of the solution, just before the
Stop statement:
(Assume that we have stored the cost of the carpet in the variable cost.)
If (cost $\leq$ 250) then
$\ \ \ \ \ \ \ $ Print the message ‘This is a particularly good deal.’
Work Step by Step
Add the following statement to the end of the solution, just before the
Stop statement:
(Assume that we have stored the cost of the carpet in the variable cost.)
If (cost $\leq$ 250) then
$\ \ \ \ \ \ \ $ Print the message ‘This is a particularly good deal.’