I had a software exam the other day and one of the questions was :
Define a new data type called PC that contains data both about the computer and the monitor. The computer contains how much RAM (integer) and the processor speed (floating point number).
The monitor is made up of screen size (integer) and the colour [string of 10 caharacters].
Could somenone print up the answer for me to check it.