74.1k views
3 votes
Which portion of this code represents the variable?

A. Well done!
B. fruitCount
C. otherSprite
D. 10

Which portion of this code represents the variable? A. Well done! B. fruitCount C-example-1

1 Answer

1 vote

Answer:

fruitCount is the variable

Step-by-step explanation:

Variables represent values, and in the "if" statement (light blue), it wants to know what the value of "fruitCount" is and if it is equal to 10.

User Asimo
by
4.8k points