Searching...

Get Number and prints it's Table.

15:41

https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcR-1njLlrV-s--eucp653JYXaxIAVBCzIRD_7R38rBtkcj1Jz48Xn_tHneP

#include <iostream>
using namespace std;
int main()
{
int num;
cout << "Enter Number for the Table: ";
cin >> num;
for (int i=1;i<=10;i++)
cout << num << "*" << i << "=" << num*i <<endl;
return 0;
}

0 comments:

Post a Comment

Thanks For Your FeedBack....