Answer to Question #26681 in C++ for Omodaji Akpome Andrew

Question #26681
Write a c++ program which produce a simple multiplication table of the following format for integers in the range 1 to 9

1*1=1
1*2=2
...
9*9=81
1
Expert's answer
2013-04-25T10:06:48-0400
#include<iostream>
#include<stdio.h>

int main(){

for (int i=1; i<10; i++){
for (int j=1; j<10; j++){
printf("%d*%d=%d ", i, j, i*j);
}
printf("\n");
}

getchar();
return 0;

}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS