Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- char InputVar[16] ;
- printf("Choose between Apple or Samsung: ");
- scanf("%s", &InputVar);
- if(InputVar[0]== 'a', 'p')
- {printf("I like Apple too <3 \n");}
- else
- {printf("You're lousy!!");}
- return 0;
- }
Add Comment
Please, Sign In to add comment