CAPE Computer Science Unit 1 · 2013 · Paper 2 · Question 6(d)(iii)
Write C code to read two values representing the purchases of Andrew and Jamie from the keyboard. Andrew pays full price while Jamie receives a 10% discount. Adjust each customer's balance according to their purchases.
The mark scheme is shown once you've answered.
Practise this question