write a program in c++ to input three numbers and calculate the sum and multiply of that number.
Answers
Answered by
2
#include<iostream.h>
#include<conio.h>
void main ()
{
clrscr ();
int a,b,c;
cout<<"Enter any three number";
cin>>a>>b>>c;
cout<<"The sum is"<<a+b+c<<endl;
cout<<"The multiplication is"<<a*b*c<<endl;
getch();
}
#include<conio.h>
void main ()
{
clrscr ();
int a,b,c;
cout<<"Enter any three number";
cin>>a>>b>>c;
cout<<"The sum is"<<a+b+c<<endl;
cout<<"The multiplication is"<<a*b*c<<endl;
getch();
}
Similar questions
History,
8 months ago
Computer Science,
8 months ago
Social Sciences,
8 months ago
India Languages,
1 year ago
Math,
1 year ago