#include <iostream> #include <windows.h> int main(){ int x = 1; int y = 99; std::cout << "A random number between " << x << " and " << y << " is: " << rand()%x+y; return 0; }
Jump To Top of Thread