Home
Make Money Online
C++ Guide
Programs
_Multi DropDown
__DropDown 1
__DropDown 2
__DropDown 3
_ShortCodes
_SiteMap
Home
Programs
Program to print table by While loop.
Program to print table by While 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;
int i =1;
while(i<=10)
{
cout<< n <<"*" << i <<"="<<n*i<<endl;
i++;
}
getch();
}
Output:-
Post a Comment
0 Comments
Pages
Home
Sitemap
Basics
Programs
About
2018
35
Business
Recent
Comments
Social Plugin
Popular Posts
Iteration Statements
May 18, 2018
Types of Loops for,while and do-while.
May 19, 2018
Installing Turbo C++ on your computer.
May 10, 2018
Facebook
Flickr Widget
Powered by Blogger
0 Comments