138k views
2 votes
If you wanted to create a line of code that would add ten to the user’s current score, which code should you use?

score == score + 10
score = score + score
score = score + 10
if score, then +10

User Nedec
by
3.3k points

2 Answers

4 votes
Score = Score + 10. …
User Ashkar
by
3.5k points
7 votes

Answer:

choice c

Step-by-step explanation:

score = score + 10

because the rest doesn't make since and score == score + 10 has an extra equal sign.

User Rakslice
by
3.5k points