Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

string if statements c

#include <stdio.h>

int main(){
  char str[3];
  scanf("%s", &str);
  switch(str){
    case 'a':
      printf("a");
    case 'bee':
      printf("bzzz");
  }
}
 
PREVIOUS NEXT
Tagged: #string #statements
ADD COMMENT
Topic
Name
1+4 =