A programmer has defined a record structure Game to store details about video games.
RECORD Game
gameTitle : String
developer : String
rating : Integer
ENDRECORD
G1 ← Game("Pixel Quest", "Retro Arcade", 88)
G2 ← Game("Void Runner", "Cosmic Games", 94)
Write an algorithm using pseudo-code to display the title of the game with the highest rating.
The algorithm should:
Equal if both games have the same ratingThe algorithm should work for any valid game records stored in G1 and G2.
208 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.