Skip to content

Commit ae95a30

Browse files
author
fahad-25082001
authored
Sum of two number
Sum of two numbers in c programming
1 parent c5c05c2 commit ae95a30

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Sum of two number

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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;

0 commit comments

Comments
 (0)