CODING:
#include<stdio.h>
#include<conio.h>
void main()
{
int num1,num2,prod;
clrscr();
printf("Enter first number ");
scanf("%d",&num1);
printf("Enter second number ");
scanf("%d",&num2);
prod=num1*num2;
printf("\nProduct of %d and %d is %d",num1,num2,prod);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int num1,num2,prod;
clrscr();
printf("Enter first number ");
scanf("%d",&num1);
printf("Enter second number ");
scanf("%d",&num2);
prod=num1*num2;
printf("\nProduct of %d and %d is %d",num1,num2,prod);
getch();
}
CODING |
OUTPUT |
For any query or suggestion please comment below...
No comments:
Post a Comment