PROGRAM TO ACCEPT A NUMBER AND DISPLAY THE TABLE OF THAT NUMBER IN C++ LANGUAGE
#include<iostream.h>
#include<conio.h>
void main()
{
int number, i;
i=1;
cout<<"Enter A Number:";
cin>>number;
while(i<10)
{
cout<<number<<"*"<<i<<"="<<number*1<<endl;
i++;
}
}
Comments
Post a Comment