I have found out a code that can give random numbers but I think this code gives a random number between 0-32767.
Could it be possible to get a random number between two values like for example: 0-30 ?
Code:#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
int random_integer = rand();
cout << random_integer << endl;
}

