Hey guys. Im pretty new to the site and just tryin to work through the tutorials. I have found them difficult but haven't had a big problem understanding them until lesson 4. Ill just copy the bit I dont get.
<<int a;
a=random(5);>>
Do not think that 'a' will change at random, it will be set to the value returned when the function
is called, but it will not change again.
I dont c how a=random(5) works so could anyone explain it better plz? :confused: also the (5) has me confused
thankz cya