Do you mean you want to create a number by adding two random numbers?
Code:
int randomA = arc4random() % 6;
int randomB = arc4random() % 6;
int weightedRandom = randomA + randomB;
Or you want to create a string that looks like "3 + 2" , but the numbers are random?
Code:
int randomA = arc4random() % 6;
int randomB = arc4random() % 6;
NSString *mathQuestion = [NSString stringWithFormat: @"%d + %d", randomA, randomB];
//I forgot the asterisk in that last line. I'm adding it now.