So I have to create a multiplication table but it has to be the size of a number I enter from 5 to 31. I think I understand creating a multiplication table without an input, but how do I do it when it has to be a specified size?
cout << "Enter a number between 5 and 31: ";
cin >> num;
do {
cout << "Enter a number between 5 and 31: ";
cin >> num;
} while (num<MULT_MIN || num > MULT_MAX);
while (num <MULT_MIN || num > MULT_MAX)
not much but I'm stuck