0
In the last sentence: num = num +1; what does this means?
7 Answers
+ 3
It's assign the current value of num to num , but adding 1 more.
example:
num = 1;
num = num + 1;
print(num); // output : 2
num = num +1;
print(num); // output : 3
It's usally written"num++;" for loops
+ 1
It's a thing done for increment of one digit
+ 1
It will increase numbers until it reaches a point where it becomes smaller than 6 as num>6 means same
0
it increments the num variable by 1 .
the same as num+=1 or num++
0
util it is, for eg. num>6 no?
0
ok thanks!
0
ok thanks!