Computer Science, asked by pathakshobha300033, 11 months ago

Write a program that will print the table of any number upto any number.

Answers

Answered by MahboobBhatti
1

Answer:

#include<iostream>

 

using namespace std;

 

int main()

{

int i,n;

cout<<"Enter any number:";

cin>>n;

 

for(i=1;i<=10;++i)

cout<<"\n"<<n<<" * "<<i<<" = "<<n*i;

 

return 0;

}

Explanation:

Similar questions