Example, I have 2 ints and 1 output.
int IntNumberOne = 100;
int IntNumberTwo = 30;
NSLog(@"");
I would like the output to display just ONE of the two ints, and randomize every time this program is started.
How would that be done?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use arc4random() function to pick number randomly: