A programmer is developing a game and writes the following subprograms:
procedure displayWelcome()
print("Welcome to the Game!")
endprocedure
function calculateScore(points, multiplier)
return points * multiplier
endfunction
procedure updateHighscore(newScore)
highscore = newScore
endprocedure
Identify the name of the subprogram that does not take any parameters.
33 exam-style questions on Edexcel IGCSE Computer Science Subprograms. Each one has a worked solution and a mark scheme showing where the marks go.