Program to find Sum of three numbers in C++ Programming Language

Share on facebook
Share on linkedin
Share on twitter
Share on email
Use "ufd6qb86" For Offers
Program to find the sum of three numbers using C++

 

               

Output :

 

//Program to find Sum of three Numbers


#include<iostream>


using namespace std;


main()

{

 

 

 int a , b, c, total;


cout << " Enter a Three Numbers  : " << endl;

cin >> a >> b >> c; 

 

 total = a + b + c;

 

 cout << " The Sum of " << a << " + " << b << " + " << c << " = " << total;

 

 return 0;

}
Get 20% Off on Trading Fee Use "LG3RJV7Z"

More To Explore

Use "ufd6qb86" For Offers