___|  _ \   |  |    |   |_ _|\ \     / ____|
 |     |   |  |  |    |   |  |  \ \   /  __|
 |   | |   | ___ __|  ___ |  |   \ \ /   |
\____|\___/     _|   _|  _|___|   \_/   _____| 

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Sum program in C++

BY: @palwasha | CREATED: July 31, 2018, 7:11 a.m. | VOTES: 20 | PAYOUT: $15.19 | [ VOTE ]

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.

https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/1200px-ISO_C%2B%2B_Logo.svg.png

source

include< iostream>

using namespace std;
int main()
{

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

}

TAGS: [ #program ] [ #c ] [ #development ] [ #sum ] [ #include ]

Replies

@steemitboard | July 31, 2018, 12:16 p.m. | Votes: 0 | [ VOTE ]

Congratulations @palwasha! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/voted.png] 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!

> Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

@adilkhan12 | Aug. 1, 2018, 10:08 a.m. | Votes: 1 | [ VOTE ]

this is soo simple

@adilkhan12 | Aug. 1, 2018, 10:09 a.m. | Votes: 1 | [ VOTE ]

i also know a bit of programming

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>