Computer Science – 11.2 Constructs | e-Consult
11.2 Constructs (1 questions)
Login to see all questions.
Click on a question to view the answer
Pseudo-code:
START
INPUT numberoftoppings
totalcost = 8.00 + (numberof_toppings * 1.50)
IF numberoftoppings <= 0 THEN
DISPLAY "Total cost: £8.00"
ELSE
DISPLAY "Total cost: £" + formattedtotalcost
ENDIF
END