Home
Make Money Online
C++ Guide
Programs
_Multi DropDown
__DropDown 1
__DropDown 2
__DropDown 3
_ShortCodes
_SiteMap
Home
Programs
Program to print table by for loop.
Program to print table by for loop.
Amarjeet singh
March 27, 2018
Program:-
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int n;
cout<<"\nEnter the number to print the table";
cin>>n; // table to print
cout<<endl;
for(int i=1;i<=10;i++)
{
cout<< n <<"*" << i <<"="<<n*i<<endl;
}
getch();
}
Output:-
Post a Comment
0 Comments
Pages
Home
Sitemap
Basics
Programs
About
2018
35
Business
Recent
Comments
Social Plugin
Popular Posts
Generations of Programming Languages.
April 11, 2018
Facebook
Flickr Widget
Powered by Blogger
0 Comments