Welcome to the Treehouse Community
Looking to learn something new?
HOW CAN I SOLVE THIS PROBLEM? IM DO NOT QUITE UNDERSTAND THE QUESTION
WHAT ARE STEPS TO SOLVE THIS ONE?
// Enter your code below var initialScore = 8
Ben Masel2,004 Points
Hi there! Firstly there is a variable called initialScore that holds the value of 8, in the instructions it says to add a constant named totalScore which is supposed to equal initialScore + 1. Now the new operators that i am sure you have learned are ++ and --. so you have to create a constant called totalScore and make it equal initialScore + 1. The catch is they both have to equal the same amount so you need to use the ++ operator to increment initialScore by 1 and then put the initialScore's value back into the totalScore.Hope this helps : )