asked 143k views
2 votes
Please Help!! Thank You. What will happen in this program after the speak function is called for the first time?

Please Help!! Thank You. What will happen in this program after the speak function-example-1

2 Answers

1 vote

Answer:

D.The sprite will say "hi" twice.

Step-by-step explanation:

answered
User Stephen Kuo
by
8.2k points
3 votes

Answer:

D The sprite will say "hi" twice.

Step-by-step explanation:

the first call of the speak function specifies that:
if the word is not bye then the word will be repeated twice
so the sprite will say hi twice

answered
User Jeff Sheffield
by
8.5k points

No related questions found