Skip to content

Commit a75a00d

Browse files
Add files via upload
1 parent 0fd56ce commit a75a00d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Practise Programs/1sum.cpp

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include<iostream>
2+
using namespace std;
3+
int main()
4+
{
5+
int a,b,sum; //variables
6+
cout<<"Enter Number a =\t"; //\t for space
7+
cin>>a;
8+
cout<<"Enter Number b =\t";
9+
cin>>b;
10+
sum = a+b;
11+
cout<<"Sum = "<<sum;
12+
return 0;
13+
14+
}

0 commit comments

Comments
 (0)