0
Table from 1 to 10 finding some error in output it it's priting some useless numbers between 1-3 instead of printing 2. Solve it
2 Respuestas
+ 2
This to replace with following code could help:
printf("%d ",i*j);
+ 1
You have 2 %d for a single value i * j
Do this
printf("%d %d = %d\n",i, j, i * j);
-------------
for(int i = 1; i <= 10; ++i) {
for(int j = 1; j <= 10; ++j) {
printf("%d %d = %d\n", i, j, i * j);
}
printf ("-----------\n");
}