60 429
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #43982 in C++ for nistha

Question #43982
write a program to print all the multiplication tables from 11 to 20 up to first 10 multiples.
Expert's answer
#include <iostream>
int main() {
std::cout  << " ";
for ( int i = 11; i <= 20; i++ ) {
  std::cout  << " " << i << " ";
}
std::cout << std::endl;
for ( int i = 11; i <=20; i++ ) {
  std::cout << i << " ";
  for ( int j = 11; j <=20; j++ ) {
std::cout << i * j << " ";
  }
  std::cout << std::endl;
}
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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions