Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Print Multiplication Table ...



 Program generate the table of any integer up to 20 . If you want to change the value of 20 go to program and change the value of 20 in for loop..                              

Source Code:-

#include<iostream.h>
#include<conio.h>
void main()
 { clrscr();
   int n;
   cout<<"Print Table Of any no. (by: Tarun Rawat)\n\n";
   cout<<"Enter number to print it's table = ";
   cin>>n;
   for(int i=1;i<=20;i++)
     {cout<<"\n"<<n<<"*"<<i<<" =  "<<n*i;
     }
 getch();
 }

1 comment:

  1. This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. Multiplication chart

    ReplyDelete

Blogger Widgets

Find Us On Google, Just type - way2cplusplus -

If you have any questions on implementing or understanding this C++ Program , shoot me a comment and I'll be glad to help! :) :)