To print the table of a number
COde:
#include<iostream.h> #include<conio.h> void main() { clrscr(); int n,i; cout<<"\nEnter a Number :"; cin>>n; for(i=1; i<=10; ++i) cout<<"\n "<<n<<”*”<<I<<”= ”<<n*i; getch(); }
A complete Guide to learn Object Oriented Programming in C++
To print the table of a number
COde:
#include<iostream.h> #include<conio.h> void main() { clrscr(); int n,i; cout<<"\nEnter a Number :"; cin>>n; for(i=1; i<=10; ++i) cout<<"\n "<<n<<”*”<<I<<”= ”<<n*i; getch(); }
Article by +Jasmeet Singh
Chief-Editor
He is a tech Enthusiast, an Altruist and calm mentor. He loves to code. He is also a creative graphic designer. Do check out his designfolio @ Jasmeet.asia If you like This post, you can follow me on Twitter.
|
0 comments:
Post a Comment