Professional Documents
Culture Documents
The user will input the size of the multiplication to generate,valid input is from 1-10 only.
*/
#include <iostream>
int main()
char tryagain;
do
{ system ("cls");
cout << "Input the size of multiplication table you want to generate(1-10 only) :" << endl;
do
cout << size << " is an INVALID input! " <<endl; //the input is invalid
cout <<row << " * " << col << " = " << prod << "\t";
cout <<endl;
tryagain = tolower(tryagain);
return 0;