Plz help i am hang on this topwic

Plz help i am hang on this topwic
0

#1

This post was flagged by the community and is temporarily hidden.


#2

It is very easy challenge. Just read carefully instructions:

You can easily increment or add one to a variable with the ++ operator.

i++;

is the equivalent of

i = i + 1;

Note
The entire line becomes i++; , eliminating the need for the equal sign.

Change the code to use the ++ operator on myVar .

Last line tells you exactly what you have to do.


#3

i tried my best i had done this way

var myVar=++87;


#4

Seriously?

This is your default code in this challenge:

// Only change code below this line
myVar = myVar + 1;

Do you know what above line of code is doing?


#5

yess i did this , but the matter is that
var myVar = 87;

// Only change code below this line

var myVar=++87;


#6

Perhaps you lack very basic background. I didn’t ask you if you did it but if you understand it.

// Only change code below this line
myVar = myVar + 1;

Are you sure you know what above line of code is doing?


#7

ar myVar = 87;

// Only change code below this line
myVar = ++myVar;


#8

i had done it but the matter is that now it is saying that there is one cross step which says change myvar=myvar +1