diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..691a8f6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "C_Cpp.errorSquiggles": "Disabled" +} \ No newline at end of file diff --git a/CalculatorFunctions/add.c b/CalculatorFunctions/add.c index 8b13789..7fb9628 100644 --- a/CalculatorFunctions/add.c +++ b/CalculatorFunctions/add.c @@ -1 +1,18 @@ +#include +using namespace std; + +int main(){ + +int n1,n2; +printf("Enter num1/n"); +scanf("%d",n1); +printf("Enter num2/n"); +scanf("%d",n2); + +printf("The sum is : "n1+n2); + +} + +return 0; + diff --git a/README.md b/README.md index 764840d..861d07b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ ### C-Guide-for-Beginners - This will be an Open Guide for all beginners in Python ! You can read and learn simple C codes here , and whats more interesting is that you can even Contribute !!! + This will be an Open Guide for all beginners ! You can read and learn simple C codes here , and whats more interesting is that you can even Contribute !!! #Add whatever sample program you feel like is necessary for a beginner and make sure to add enough comments so that a beginner understands just by reading what each line of the code does ! If you are using any concept directly make sure to explain that using multiline comments. + + You can explain any type of algorithm in which you are an exper.