CAPE Computer Science Unit 1 · 2015 · Paper 2 · Question 6(c)(v)
C application for managing vendor fruit records (ID, cost price, selling price, quantity in stock).
Assuming two fruitRec variables a and b are populated, write C code to compute and display the total expected profit from selling both fruits.
The mark scheme is shown once you've answered.
Practise this question