Created
January 8, 2022 11:44
-
-
Save batuhanozkose/748b9b7c2f934e6d6348dc95b9a301b5 to your computer and use it in GitHub Desktop.
C ile çok basit karakter toplama işlemi.
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; | |
| int b; | |
| printf("Enter a character: \n"); | |
| scanf("%d", &a); | |
| printf("Enter another character: \n"); | |
| scanf("%d", &b); | |
| printf("Character Total: %d\n", a + b); | |
| if (a == b) { | |
| printf("The characters are the same.\n"); | |
| } else { | |
| printf("The characters are different.\n"); | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment