answersLogoWhite

0


Best Answer

#include<stdio.h>

void main()

{

int r,i,j,k;

clrscr();

printf("Enter the number range: ");

scanf("%d",&r);

for(i=1;i<=r;i++)

{

for(j=1;j<=10;j++)

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

//printf("\n");

}

getch();

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

#include<iostream.h>

#include<conio.h>

int table(int a);

void main()

{

clrscr();

int a,tab;

cout<<"Enter the number";

cin>>a;

tab=table(a);

for(int q=1;q<=10;q++)

cout<<a<<"*"<<q<<"="<<"\n"<<tab;

getch();

}

int table(int a)

{

int r,i;

for(i=1;i<=10;i++)

r=i*a;

return r;

}

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

#include<stdio.h>

#include<conio.h>

main()

{

float f;

clrscr();

printf("Enter Any Number=");

scanf("%f",&f);

for(i=1;i<=10;i++)

{

printf("%d\n",f*i);

}

getch();

}

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

#include<iostream.h>

void main()

{

int n;

cout<<"Enter a number ";

cin>>n;

for(int i=1;i<=10;i++)

{

cout<<n<<" x "<<i<<" = "<<n*i;

cout<<endl;

}

}

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program to find multiplication table?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

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


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


How do you write a binomial distribution table in C program?

Class&amp;genus


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(); }

Related questions

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.


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


What property of multiplication is used to find equivalent fractions?

Identity property of Multiplication c:


C program for matrix multiplication using dynamic memory alllocation?

Poor boy


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]); } } }


Find the illegal values of c in the multiplication statement?

c = -7, c = -3, c = 2, and c= 5


How do you write a binomial distribution table in C program?

Class&amp;genus


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


Program for sin series in c language?

find the program in c-pgms.blogspot.com


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(); }


What is the multiplication property of multiplication?

a*(b + c) = a*b + a*c


What is matrix programming in C programming?

C Examples on Matrix OperationsA matrix is a rectangular array of numbers or symbols arranged in rows and columns. The following section contains a list of C programs which perform the operations of Addition, Subtraction and Multiplication on the 2 matrices. The section also deals with evaluating the transpose of a given matrix. The transpose of a matrix is the interchange of rows and columns.The section also has programs on finding the trace of 2 matrices, calculating the sum and difference of two matrices. It also has a C program which is used to perform multiplication of a matrix using recursion.C Program to Calculate the Addition or Subtraction & Trace of 2 MatricesC Program to Find the Transpose of a given MatrixC Program to Compute the Product of Two MatricesC Program to Calculate the Sum & Difference of the MatricesC Program to Perform Matrix Multiplication using Recursion