+ 1

How to print table from 2-10 ??

tables from 2-10

1st Jul 2017, 5:57 AM
Swarnima Shukla
Swarnima Shukla - avatar
4 Answers
+ 2
hii
1st Jul 2017, 9:21 AM
Swarnima Shukla
Swarnima Shukla - avatar
+ 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..
1st Jul 2017, 1:41 PM
DEVIL kingg
DEVIL kingg - avatar
0
hyy
1st Jul 2017, 8:00 AM
vishal nath
vishal nath - avatar
0
hyy
1st Jul 2017, 9:21 AM
Safan Mohammed
Safan Mohammed - avatar