Write an algorithm using pseudo-code to display the ID of the cargo container with the greater weight.
You can assume you have access to the following variables:
C1.id and C1.weightC2.id and C2.weightThe algorithm should:
C1 and the weight of C2Balanced if the containers have the exact same weightC1 and C2208 exam-style questions on AQA GCSE Computer Science Representing algorithms. Each one has a worked solution and a mark scheme showing where the marks go.