Photo AI

Margaret is making some special offers to customers - Edexcel - GCSE Computer Science - Question 8 - 2019 - Paper 1

Question icon

Question 8

Margaret-is-making-some-special-offers-to-customers-Edexcel-GCSE Computer Science-Question 8-2019-Paper 1.png

Margaret is making some special offers to customers. (a) Customers can get a money off voucher for their favourite item. - Customers whose favourite item is ice cr... show full transcript

Worked Solution & Example Answer:Margaret is making some special offers to customers - Edexcel - GCSE Computer Science - Question 8 - 2019 - Paper 1

Step 1

Choose ice cream or cookies?

96%

114 rated

Answer

Output a message asking the user to choose between ice cream and cookies.

Step 2

Choice == ice cream?

99%

104 rated

Answer

If the choice is ice cream, print 'ice cream voucher'.

Step 3

Choice == cookies?

96%

101 rated

Answer

If the choice is cookies, print 'cookie voucher'.

Step 4

If neither choice?

98%

120 rated

Answer

If the customer does not choose either, print 'drink voucher'.

Step 5

Stop

97%

117 rated

Answer

End the flowchart.

Join the GCSE students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;