Created
May 23, 2014 13:10
-
-
Save marwein/fab4fd361bddcc85a3bc to your computer and use it in GitHub Desktop.
exemple
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<string.h> | |
| #include<stdlib.h> | |
| #include<stdio.h> | |
| main () | |
| { | |
| char c[20]; | |
| printf("\entre un mot : "); | |
| gets(c); | |
| if(strcmp(c,"homme")==0) | |
| printf("goood"); | |
| else | |
| { | |
| if (strcmp(c,"femme")==0) | |
| printf("goood 2"); | |
| else | |
| printf("error"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment