45.6k views
2 votes
When you write code to count the number of times red is the color, what is the index of "red"?

O 2
O 3
0 1
оо

User Jose Ramon
by
6.4k points

1 Answer

5 votes

Answer:

1

Step-by-step explanation:

Remember it starts with 0. Correct on edge.

User Cbartosiak
by
5.9k points