SHARE
TWEET

Untitled

a guest Nov 12th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2.       int main()
  3.       {
  4.           int x;
  5.           scanf("%d",&x);
  6.  
  7.         if(x==1)
  8.        {
  9.            printf("January\n");
  10.        }
  11.  
  12.        else if(x==2)
  13.        {
  14.            printf("February\n");
  15.        }
  16.       else if(x==3)
  17.        {
  18.            printf("March\n");
  19.        }
  20.         else if(x==4)
  21.        {
  22.            printf("April\n");
  23.        } else if(x==5)
  24.        {
  25.            printf("May\n");
  26.        } else if(x==6)
  27.        {
  28.            printf("June\n");
  29.        } else if(x==7)
  30.        {
  31.            printf("July\n");
  32.        } else if(x==8)
  33.        {
  34.            printf("August\n");
  35.        } else if(x==9)
  36.        {
  37.            printf("September\n");
  38.        } else if(x==10)
  39.        {
  40.            printf("October\n");
  41.        }
  42.         else if(x==11)
  43.        {
  44.            printf("November\n");
  45.        }
  46.         else if(x==12)
  47.        {
  48.            printf("December\n");
  49.        }
  50.        return 0;
  51.        }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top