Created
September 2, 2020 14:31
-
-
Save invasionofsmallcubes/d0df0a7df28d59addd7c87f4d447e60d to your computer and use it in GitHub Desktop.
main.c - lesson #1 - elementary programming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int j; | |
int i; | |
printf("Tell i\n"); | |
scanf("%d", &i); | |
printf("Tell j\n"); | |
scanf("%d", &j); | |
int sum = i + j; | |
printf("Sum is %d", sum); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment