Skip to content

Commit a944117

Browse files
authored
Create AddTwonumbers
1 parent c5c05c2 commit a944117

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

AddTwonumbers

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include <stdio.h>
2+
int main()
3+
{
4+
int x, y, z;
5+
6+
printf("Enter two numbers to add\n");
7+
scanf("%d%d", &x, &y);
8+
9+
z = x + y;
10+
11+
printf("Sum of the numbers = %d\n", z);
12+
13+
return 0;
14+
}

0 commit comments

Comments
 (0)