Skip to content

Commit 0279449

Browse files
authored
Create Sum of Two numbers
1 parent 4679066 commit 0279449

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Sum of Two numbers

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include<iostream>
2+
using namespace std;
3+
int main()
4+
{
5+
int a=5, b=10, c; //change values of a and b for different results
6+
c=a+b;
7+
cout<<"The sum of "<<a<<" and "<<b<<" is :"<<c;
8+
return 0;
9+
}

0 commit comments

Comments
 (0)