0
Can you please solve write a program in c++ to display multiplication Table of a input number
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;
}
0
im working on something similar to this with displaying multiples of a given number,but it hasnt quite come together yet.