CAPE Computer Science Unit 1 · 2012 · Paper 2 · Question 6(b)(ii)
A grocery application requires storing product records containing an integer ID, integer quantity in stock, and floating-point price.
Declare TWO variables, item1 and item2, that have the record structure declared in (b)(i).
The mark scheme is shown once you've answered.
Practise this question