Write a ‘C’ program to find multiplication of two numbers.
Answers
Answered by
2
CODE:
#include <stdio.h>
int main(void){
float num1,num2,mult;
printf("Enter the first number ");
scanf("%f",&num1);
printf("Enter the second number ");
scanf("%f",&num2);
mult=num1*num2;
printf("Multiplication of two numbers = %f", mult);
return 0;
}
Answered by
2
Answer:
#include<iostream.h>
#include<conio.h>
void main()
{
int a, b, m;
cout<<"\nEnter first number";
cin>>a;
cout<<"\nEnter second number";
cin>>b;
m=a*b;
cout<<"\Multiplication of given numbers="<<m;
getch();
}
Similar questions