Program to find sum of three number using C++

               Program to find sum of three  number using C++

Program- to -find -sum- of -three - number -using -C++


// Program to find sum of three  number

#include<iostream>

using namespace std;

int main()

{

int a,b,c,sum;

cout<<"enter the value of a,b and c"<<endl;

cin>>a>>b>>c;

sum=a+b+c;

cout<<"the sum is "<<sum;

return 0;

}

Previous Post Next Post

Contact Form