Multiply two integer numbers in C

Today, We will learn how we can multiply two integers or float numbers using C programming.

Multiply two numbers Armstrong number in C
#include<stdio.h>
#include<conio.h>
void main()
{

float a,b,c;
clrscr();
printf("Enter first number:");
scanf("%f",&a);
printf("Enter second number:");
scanf("%f",&b);

c=a*b;
printf("Multiplication of two float numbers="%f",c);
getch();
}

Program Code Explanation (PCE)

We already explained above-used function codes in previous programs. You can refer those program to understand the above functions. Click here to learn how to add 2 integer numbers

Hope that you understand the above code if you have any queries related to C programming. Please comment me below in comment section.

You can also refer Let Us C for more information on C Programming.

Leave a Comment

Show Buttons
Hide Buttons