Best Answer

#include <stdio.h>

int main()


int num,i;

printf("Enter a number: ");



printf("\n%d X %d = %d",num,i,num*i);

return 0;


User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program to print multiplication table?
Write your answer...
Still have questions?
magnify glass
Related questions

How do you write program c of table 5?

#include#includevoid main(){ int a,i;printf("\nThe Multiplication table of 5 is:\n");for(i=1;i

Write a c program to print multiplication table using while loop?

void main() { int a,b,c,d; clrscr(); printf("\n Enter the number for table = "); scanf("%d",&amp;a); printf("\n Enter the number up to which you want to see the table = "); scanf("%d",&amp;b); for(c=1;c&lt;=b;c++) { d=a*c; printf("%d * %d = %d\n", a,c,d); } getch(); }

How to write C multiplication table?

/****************************************** * C Program to print MultiplicationTable * * Author of the Program: M.JAYAKUMAR..* * Date 23 Nov 2006 * * ***************************************/ #include&lt;stdio.h&gt; main() { int i, p=1, table[10]; /* define integres and array */ /* *************************** * Output Formating Begins * ***************************/ for(i=0;i&lt;61;i++) printf("#"); printf("\n# Program to print Multiplication table of any number"); printf("\n# NOTE: To exit type 0 \n"); for(i=0;i&lt;61;i++) printf("#"); /* *************************** * Output Formating ENDS * ***************************/ while(p != 0) { printf("\nWhich table "); scanf("%d",&amp;p); /* takes input from input */ for(i=0;i&lt;10;i++) /* Fills the array */ { if(p==0) /* Stratagy to exit the program Benins */ { printf("Exiting\n"); break; } /* Stratagy to exit the program ends */ table[i]=i+1; /* Fills the array with numbers 1 - 10 */ printf("%2d x %2d = %2d\n", p, table[i], p * table[i]); } } }

Can you get me a c program to get the multiplication table for given n numbers?

#include#includevoid main(){void mul(int n);clrscr();mul(5);//Number to print the Multiplication Tablegetch();}void mul(int n){int i;for(i=1;i

Write a java script program to print first ten odd natural numbers in C?

Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.

Program to display multiplication of two matrix?

The matrix multiplication in c language : c program is used to multiply matrices with two dimensional array. This program multiplies two matrices which will be entered by the user.

Write a program in C plus plus language that will receive two numbers from the user and print out a multiplication table?

A multiplication table requires more than two numbers so I'll assume you really meant to say print the product of the two numbers. #include &lt;iostream.h&gt; int main{ int x, y; cout &lt;&lt; "Please enter the 1st number: "; cin &gt;&gt; x; cout &lt;&lt; "Please enter the 2nd number: "; cin &gt;&gt; y; cout &lt;&lt; "The product is: " &lt;&lt; x * y; return 0; };

Write an assembly language program to print a to z on screen?

write a program to print A to Z on screen in c?

What is a C program to print initials?

printf ("initials");

C program to print its own code?

You are referring to a quine

C program for matrix multiplication using dynamic memory alllocation?

Poor boy

Write a c program to print the 100 to 1 nos?

Write a c program to print the 100 to 1 nos