/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
#include <cstdlib>
using namespace std;
int randint(int Min, int Max)
{
return (rand() % (Max + 1 - Min) + Min);
}
int main()
{
for(int i = 1; i<=100;i++){
cout<<"\n Rand: ";
cout<<randint(1,100);
}
return 0;
}