clinically-proven

Untitled

Nov 22nd, 2020 (edited)
403
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2.  
  3. int main() {
  4.   int num;
  5.  
  6.   printf("Enter Number: ");
  7.   scanf("%d", & num);
  8.  
  9.   switch (num) {
  10.   case 1:
  11.     printf("ONE\n");
  12.     break;
  13.  
  14.   case 2:
  15.     printf("TWO\n");
  16.     break;
  17.  
  18.   default:
  19.     printf("INVALID");
  20.   }
  21.   return 0;
  22. }
RAW Paste Data