rand() cpp 10 and 100 inclusive
#include <iostream>
#include <cstdlib>
#include <ctime>
int main() {
std::srand(std::time(0)); // Seed the random number generator with the current time
int randNum = std::rand() % 91 + 10; // Generate a random number between 10 and 100 (inclusive)
std::cout << "Random number between 10 and 100 (inclusive): " << randNum << std::endl;
return 0;
}