Sunday 29 December 2013

How To Make Your Own Multiplication Table

How To Make Your Own Multiplication Table


You need not memorize all the multiplication tables now. Just one click and the desired table appears on screen.
Learn how to make your own multiplication table using C++ language.

Given below is a code that runs the multiplication table program.
You can however, make desired changes in your program.

Open C++
Write the code:

#include <stdio.h>
#include <conio.h>
void main ()
{
int x,y;
y=1;
printf ("Enter the number whose table you want\n");
scanf ("%d",&x);
for (int i=y; i<=10; ++i)
{printf ("%d X %d = %d\n",x,i,x*i);}
}

Run the code.
It works.
To save, use extension .cpp
Thanks!

ConnectU Edu.


TO KNOW MORE OR TO CLARIFY YOUR DOUBTS ON THE TOPIC, PUT A COMMENT.
REMARKS, SUGGESTIONS AND QUERIES ARE WELCOME. JUST PUT A COMMENT.

Click here to download the Multiplication Table Program for FREE

No comments:

Post a Comment