+ 3
#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main() { srand(time(0)); cout << rand() % 10 << endl; // Generates unique random numbers between 0 and 10 return 0; }
1st Dec 2017, 5:09 PM
Cool Codin
Cool Codin - avatar