fork download
  1. #include <stdio.h>
  2. int main( )
  3. {
  4. char k;
  5. int i;
  6. for(i=1;i<3;i++)
  7. {
  8. scanf("%c",&k);
  9. switch(k)
  10. {
  11. case '0': printf("another\n");
  12. case '1': printf("number\n");
  13. }
  14. }
  15. return 0;
  16. }
Success #stdin #stdout 0s 10304KB
stdin
01
stdout
another
number
number