Created
November 28, 2018 11:16
-
-
Save dbc2201/a0b8f5f972a574d7319f278ff6df565b to your computer and use it in GitHub Desktop.
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 a, b = 5, c = 12; | |
| printf("Enter an integer value:\n"); | |
| scanf("%d", &a); | |
| if (a > 10) | |
| { | |
| printf("%d is greater than 10.\n", a); | |
| } | |
| else | |
| { | |
| printf("%d is less than 10.\n", a); | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment