Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main(void){
- char valasz[] = "";
- printf("Ki a Bacelona hires csatara?\n");
- scanf("%s", &valasz);
- if(strcmp(valasz, "Messi") == 0)
- printf("helyes");
- else
- printf("rossz");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement