daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.   char InputVar[16] ;
  5.  
  6.   printf("Choose between Apple or Samsung: ");
  7.   scanf("%s", &InputVar);
  8.  
  9.   if(InputVar[0]== 'a', 'p')
  10.   {printf("I like Apple too <3 \n");}
  11.  
  12.   else
  13.  
  14.  {printf("You're lousy!!");}
  15.  
  16.   return 0;
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top