+ 1

What will be the values of val ?

int val = random(3)+2

13th Nov 2018, 6:33 AM
Rose
Rose - avatar
2 Antworten
+ 3
So random(3)+2 means it starts with 2 , but why it ends in 4? can u explain it little bit
13th Nov 2018, 7:03 AM
Rose
Rose - avatar
+ 2
Can it be 1<val>5??
13th Nov 2018, 6:59 AM
Rose
Rose - avatar