Hi all,
I want to make a simple counter. When I click button, the random function will give a number. If the number >30, then counter should increase.
I mean:
if (randomNumber>30)
{
counter=counter+1;
}
But it does not work. I want to find numbers which bigger than 30.
Anyone have idea?