Calculate the multiplication of two numbers.(C-Language)
Learn Coding Easily
Calculate the multiplication of two positive integer numbers. ( C-Language)
#include<studio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,mul;
printf("enter the positive integer number a= ");
scanf("%d",&a);
printf("enter the positive integer number b= ");
scanf("%d",&b);
mul=a*b;
printf("total= %d",mul);
getch();
}
Example;
Compiler Name - Turbo C
Input
Output
1.
2.
3.
4.
5.
___Comment if it's helpful for you___
Comments
Post a Comment