Answer to Question #43719 in C++ for deep gogoi

Question #43719
how to write a program C++ to show the multiplication table of 2 & 3 ?
1
Expert's answer
2014-06-27T10:13:58-0400
#include <iostream>
using namespace std;
int main() {
for (int i = 1; i <= 10; ++i) {
cout << "2 * " << i << " = " << i * 2 << "\t";
cout << "3 * " << i << " = " << i * 3 << "\n";
}
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
New on Blog
APPROVED BY CLIENTS