A program to multiply two numbers in C.

Опубликовано: 08 Апрель 2026
на канале: Sunita Panthi
76
4

Here in this video I am going to say how we can make a program to print the result obtained from the product of two numbers which is entered by the user.

Here is the code:
void main()
{
int a,b,product;
printf("Enter the first number");
scanf("%d",&a);
printf("Enter the second number");
scanf("%d",&b);
product=a*b;
printf("The result after product is %d",product);
getch();
}