Lecture 116
// Loop  do while 
#include <iostream>
#include <conio.h>
using namespace std;
 main ()
{   
    int n,tnum;
   
cout<<"Enter the table number: ";
    cin>>tnum;
    n=1;
    do
    {
     
cout<<"\n"<<tnum<<" X
"<<n<<" = "<<tnum*n;
      n++;
    }while(n<11);
  getch();
  return 0;
}
Code view in dev compiler:
Compile the program Ctrl+F9
      Run program Ctrl+F10



