write a program in c Input any two numbers and display multiply of these numbers.
Answers
Answered by
0
Answer:
Explanation:
#include <stdio.h>
int main()
{
int a,b,c;
printf("Enter two numbers: ");
scanf("%d %d", &a, &b);
c = a*b;
printf("Product = %d", c);
return 0;
}
Answered by
3
This is modern C language, and the language in figure is also C language but it is old.
#include<studio.h>
#include<conio.h>
int main()
clrscr();
{
int a;
int b;
printf("enter the first number:");
scanf("%d",&a);
printf("enter the second number:");
scanf("%d",&b);
int c = a * b
printf ("Result: %d",c);
getch();
}
OUTPUT
Enter the first number: 2
Enter the second number: 3
Result: 6
Attachments:
Similar questions
English,
6 months ago
Science,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Biology,
1 year ago
Science,
1 year ago