0

Can you please solve write a program in c++ to display multiplication Table of a input number

20th Nov 2016, 5:03 PM
Aniket Deshmukh
2 odpowiedzi
+ 1
I'll put the code on my profile for anyone that wants to try it out. #include <iostream> using namespace std; int main () { int Num; cout << "Enter a number: "; cin >> Num; cout << "Multiplication table:" << endl; for (int i = 1; i <= Num; i++) cout << i << " * " << Num << " = " << i * Num << endl; return 0; }
20th Nov 2016, 5:46 PM
scott johnson
scott johnson - avatar
0
im working on something similar to this with displaying multiples of a given number,but it hasnt quite come together yet.
20th Nov 2016, 8:46 PM
Ángel Perales
Ángel Perales - avatar