India Languages, asked by hiramani, 1 year ago

write a program in c++ to input three numbers and calculate the sum and multiply of that number.

Answers

Answered by mitu11
1
#include<iostream.h>
#include<math.h>
#include<conio.h>
void main( )
{
int a,b,c,d;
clrscr( );
cout<<"enter 2 nos";
cin>>a>>b>>c;
d=a+b+c;
cout<<"the sum is"<<c;
getch ( );
}




and,in the case of multiply just write incase of d=a+b+c d=a×b×c
Similar questions