Created
January 24, 2018 06:53
-
-
Save coderrb/db9a3efc5e71ca0f83442f8d3b4454de to your computer and use it in GitHub Desktop.
This file contains 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 number; | |
// printf() dislpays the formatted output | |
printf("Enter an integer: "); | |
// scanf() reads the formatted input and stores them | |
scanf("%d", &number); | |
// printf() displays the formatted output | |
printf("You entered: %d", number); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment