This is a C++ program that prints the multiplication table of a given number up to a certain limit. Here's how the program works:
#include<iostream> using namespace std; int main() { int i,n,m,a; cout<<"\nEnter the limit:"; cin>>n; cout<<"\nEnter the table number:"; cin>>a; for(i=1;i<=n;i++) { cout<<"\n"<<i<<"*"<<a<<"="<<i*a; } return 0; }To download raw file Click Here
Enter the limit:10 Enter the table number:5 1*5=5 2*5=10 3*5=15 4*5=20 5*5=25 6*5=30 7*5=35 8*5=40 9*5=45 10*5=50
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions