C++ Program to Print Multiplication Table

#include <iostream.h>
void main ()
{
int i, n;
cout << “Which multiplication table do you want?”;
cin >> n;
for (i = 1; i<10; i++)
{
cout << n << “*” << i << “= “<< n*i < < endl;
}
}

It's very calm over here, why not leave a comment?

Leave a Reply

You must be logged in to post a comment.