From 450fc4fd36c5d9b2154a46113f4fc2e7f84ac07c Mon Sep 17 00:00:00 2001 From: ridhamgarg <43957879+ridhamgarg@users.noreply.github.com> Date: Sun, 20 Oct 2019 23:40:10 +0530 Subject: [PATCH] Update README.md --- C/README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/C/README.md b/C/README.md index 2b9aa9c..8b77e13 100644 --- a/C/README.md +++ b/C/README.md @@ -1,5 +1,16 @@ -# C Language -This folder contains basic algorithms in C language. - -You can contribute by adding any algorithms you think is missing. +#include + +int main() +{ + int a, b, c; + + printf("Enter two numbers to add\n"); + scanf("%d%d", &a, &b); + + c = a + b; + + printf("Sum of the numbers = %d\n", c); + + return 0; +}