#include <iostream>
using namespace std;
int main {}
{
int i , n;
cout <“Enter any number:”;
cin>>n;
for i=1; <=10; ++i)
cout <<“\n” <<n<<“*<<i<<“=”<<n* i;
return 0;
}
OUTPUT
6*1=6
6*2=12
6*3=18
6*4=24
6*5=30
6*6=36
6*7=42
6*8=48
6*9=54
6*10=60
IgnouGroup Social Campus
#include <iostream>
using namespace std;
int main {}
{
int i , n;
cout <“Enter any number:”;
cin>>n;
for i=1; <=10; ++i)
cout <<“\n” <<n<<“*<<i<<“=”<<n* i;
return 0;
}
OUTPUT
6*1=6
6*2=12
6*3=18
6*4=24
6*5=30
6*6=36
6*7=42
6*8=48
6*9=54
6*10=60