Answer the question
In order to leave comments, you need to log in
How to display two random non-repeating numbers in SI?
How to display two random non-repeating numbers in SI in the range from 0 to 10?
srand(time(NULL));
int a = rand()%9;
int b = rand()%9;
Here the numbers are random, but can be repeated
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question