+ 1
How to print table from 2-10 ??
tables from 2-10
4 Answers
+ 2
hii
+ 2
use a nested for-loop Swarnima
.
for(int x=2;x<=10;x++)
{
for(int y=1;y<=10;y++)
{
cout<<"\n table of "<<x;
cout<<x<<"*"<<y<<"="<<x*y;
cout<<endl;
}
}
hope you got it..
0
hyy
0
hyy