314,243 views
4 votes
4 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
User Simplethemes
by
2.9k points

1 Answer

18 votes
18 votes

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 Jcuypers
by
3.0k points