Write a programmer to find sum of three numbers in c++.
Answers
Answered by
2
Hey friend
Here is your programme.
#include<iostream.h>
#include<conio.h>
Void main()
clrscr();
{
Int a, b, c;
Cout<<"enter three numbers to get their sum" ;
Cin>>a,b, c;
Int sum;
Sum = a+b+c
Cout <<"Sum of the three numbers is" <<sum;
getch();
}
Hope this will help you firend.
Here is your programme.
#include<iostream.h>
#include<conio.h>
Void main()
clrscr();
{
Int a, b, c;
Cout<<"enter three numbers to get their sum" ;
Cin>>a,b, c;
Int sum;
Sum = a+b+c
Cout <<"Sum of the three numbers is" <<sum;
getch();
}
Hope this will help you firend.
Xcomp:
Thanks
Similar questions