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.
#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;
}
i also know a bit of programming
this is soo simple
Congratulations @palwasha! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes received
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!