Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
216 B
4
Indexable
Never
#include <cstdlib>
#define MIN_VALUE 20
#define MAX_VALUE 100


int main()
{
srand (time(NULL));    //*Initialization of random*//
int value=MIN_VALUE+(rand()%(MAX_VALUE-MIN_VALUE));

cout<<value<<endl;

return 0;
}