C-Program to find multiplication of three Numbers.
Hey, learners today I give you a C-Programming code to find the multiplication of three numbers.
#include <stdio.h>
#include <conio.h>
void main()
{
int a,b,c, Mul;
clrscr();
printf ("Enter 1st Number:");
scanf ("%d", &a);
printf ("Enter 2nd Number:");
scanf ("%d", &b);
printf ("Enter 3rd Number:");
scanf ("%d", &c);
Mul=a*b*c;
printf ("Mul: %d", Mul);
getch();
}
Output:-
Enter 1st Number: 2
Enter 2nd Number: 3
Enter 3rd Number: 4
Mul: 24
In this code you see that I use #include <conio.h>. If you code in Turbo C software then you must have to write all this codes but if you are coading in any other software then its all depends on you.
You have varieties of softwares for coading its all depends on you on which you have to code first.
If You are a beginner then I prefer to code first on Turbo C software.
Comments