the code that we wrote
الكود الذي تم كتابته
#include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
int main() {
srand((unsigned)time(0));
int randomNumber;
for (int index = 0; index < 1; index++) {
randomNumber = (rand() % 50) + 0;
cout << "the random number is" << endl;
cout << randomNumber << endl;
}
}