Write a program which produces a simple multiplication table of the following format for integer in the range 1to 9:
1*1=1
1*2=2
•••
9*9=81
using namespace std; #include <stdio.h> //Multiplication Table main(void) { int m,n; cout<<"\nMultiplication Table"<<"\n\t"; for(n=1;n<11;n++) { for(m=1;m<11;m++) cout<<setw(5)<<m*n; cout<<endl<<"\t"; } }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments