Question #29502

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

Expert's answer

#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;

}
LATEST TUTORIALS
APPROVED BY CLIENTS