Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#include <cstdlib>
#include <ctime>
#include <iostream>
int main()
{
srand((unsigned) time(NULL));
std::cout << rand() % 100 + 1 << std::endl;
return 0;
}
#include <iostream>
#include <cstdlib>
#include <ctime>
#define MAX 100
#define MIN 1
using namespace std;
int main (void)
{
srand( time(NULL) );
cout << rand() % (MAX + 1 - MIN) + MIN;
return 0;
}