Skip to main content

In my previous post, I wrote about Subtracting two numbers in C. Now let’s multiply two numbers in C. Again, it’s similar to Adding two numbers in C and Subtracting two numbers in C. Instead of using the ‘+’ or ‘-‘ operator, we use ‘*’ operator which performs the task of multiplying two things. If you are unsure about any part and more information, put it down in the comments section below or look it up on Google if you want quick response.  We will try to get back to you as soon as we see the comment.

Download the source code:

Download Program

Algorithm to multiply two numbers in C:

1) Start

2) Accept Number one

3) Accept Number two

4) Multiply both the numbers

5) Print the result.

6) End

Program to multiply two numbers in C:

/*Program to multiply two numbers in C.
Programmer: Harsh Shah, Date: 29/6/13*/


void main(){

int one, two, multiply;

printf("Enter first number - ");


printf("Enter second number - ");


multiply = one * two;

printf("The multiplication of numbers %d and %d is %d",one,two,multiply);



//End of the program.


Enter first number – 20

Enter second number – 4

The multiplication of numbers 20 and 4 is 80

So this was, the program to multiply two numbers in C.


Download Program

Read Also:

Introduction to C Programming

Adding two numbers in C

Subtracting two numbers in C

Dividing two numbers in C

Harsh Shah

Harsh Shah

A highly motivated individual with a hunger to learn and share as much as I can about everything. Masters in Interaction Design with a Bachelors in Computer Science. I have worked with clients across the globe on various design and tech projects. I believe in giving back and that's how ReadMeNow was founded.

Leave a Reply