Ivan wants to have code in a game that will make it possible to change the speed of a swimmer in the game. Which of these does Ivan need?

(1 point)
Responses

a Boolean value

a Boolean value

output

output

a variable

a variable

a database

3 answers

a variable
is that the right answer
Yes, a variable is the correct answer. Ivan needs a variable to store and manipulate the swimmer's speed in the game. With a variable, the speed can be easily changed by modifying its value in the code.