The variables density and volume store floating-point numbers representing the physical properties of a fluid sample.
Write a line of pseudocode to calculate the total mass by multiplying the values stored in density and volume. Store the result in a variable with the identifier mass.
95 exam-style questions on OCR GCSE Computer Science Programming fundamentals. Each one has a worked solution and a mark scheme showing where the marks go.