diff --git a/NHCE_Yeaman/add.c b/NHCE_Yeaman/add.c new file mode 100644 index 0000000..c16e2f3 --- /dev/null +++ b/NHCE_Yeaman/add.c @@ -0,0 +1,14 @@ +#include +int add(int a, int b) +{ + return a + b; +} +void main() +{ + int num1, num2; + printf("Enter num1: "); + scanf("%d", &num1); + printf("Enter num2: "); + scanf("%d", &num2); + printf("%d + %d = %d", num1, num2, add(num1, num2)); +} \ No newline at end of file diff --git a/NHCE_Yeaman/add.exe b/NHCE_Yeaman/add.exe new file mode 100644 index 0000000..6bf691e Binary files /dev/null and b/NHCE_Yeaman/add.exe differ