C++ Random Number on March 15, 2019 Get link Facebook X Pinterest Email Other Apps #include<iostream> #include<stdlib.h> using namespace std; int main() { int i; for(i = 0; i<5; i++) { int a = rand() %6; cout << "Random Number : " << a << endl; } return 0; } Comments
Comments
Post a Comment