216k views
4 votes
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?

A.
a Boolean value

B.
output

C.
a variable

D.
a database

1 Answer

1 vote
A) a Boolean value, because you can have two possible values which is intended to represent the two truth values of logic.
User Nan Hua
by
4.7k points