Sum program in C++

This is the simple program developed by me in C++ for the purpose of sum.
It will take two value from user then it will sum the value and show the answer.

source

#include< iostream>
using namespace std;
int main()
{

int a , b , sum;
//Enter value of a
cin>>a;
//Enter the value of b
 sum=a+b; // it will save the value of a and b in sum
 cout<<sum // This will show the value of the sum
 return 0;

}

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center