New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What will be the values of val ?
int val = random(3)+2
2 Answers
+ 3
So random(3)+2 means it starts with 2 , but why it ends in 4? can u explain it little bit
+ 2
Can it be 1<val>5??