C Programming
C Programming

Input a number till 12 and print no of month, switch case program, java switch program, C switch program

Input a number till 12 and print no of month, switch case program, java switch program, C switch program

C Programming
C Programming

Input a number till 12 and print no of month, switch case program, java switch program, C switch program

 

#include<stdio.h>
int main(int argc, char const *argv[])
{
int d;
printf("ENTER ANY NUMBER FROM 1-12 :");
scanf("%d",&d);
switch(d)
{
case 1:printf("JANUARY");break;
case 2:printf("FEBRUARY");break;
case 3:printf("MARCH");break;
case 4:printf("APRIL");break;
case 5:printf("MAY");break;
case 6:printf("JUNE");break;
case 7:printf("JULY");break;
case 8:printf("AUGUST");break;
case 9:printf("SEPTEMBER");break;
case 10:printf("OCTOBER");break;
case 11:printf("NOVEMBER");break;
case 12:printf("DECEMBER");break;
default:printf("INVALID INPUT");
}
return 0;
}

 

Program by Anshul

 


 

Topics Covered :

  • c programming
  • switch configuration
  • switch
  • switch statement
  • switch in c
  • programming
  • cisco switch configuration
  • basic switch configuration
  • how to switch configuration
  • switch condition
  • switch in c language
  • initial switch configuration
  • switch statement in c
  • c programming lectures
  • c programming for gate
  • cisco switch basic configuration
  • c (programming language)
  • initial switch configuration cisco
  • how to switch configuration with commands
  • c programming for interviews

 


 

 


 

Thanks for reading this blog. Hope you get satisfied with the blog and definitely this blog must have valued your time and effort of reading.

Take a time to connect our other digital creations such as Instagram , Facebook and Youtube.

 

πŸ§‘β€πŸ’»πŸ§‘β€πŸ’»Β Social MediaΒ LinksΒ ofΒ Tech DCodeΒ :

πŸ‘‰πŸ»Β YouTube :Β https://www.youtube.com/channel/UCjJnEdeugftBwQ3yMuD4B_A
πŸ‘‰πŸ»Β Instagram :Β https://www.instagram.com/thetechdcode/
πŸ‘‰πŸ»Β Facebook Page :Β https://www.facebook.com/thetechdcode
πŸ‘‰πŸ»Β Twitter :Β https://twitter.com/thetechdcode
πŸ‘‰πŸ»Β Telegram Channel :Β https://t.me/thetechdcode
πŸ‘‰πŸ»Β Tech DCode Linktree :Β https://linktr.ee/thetechdcode
πŸ‘‰πŸ»Β My Personal Handles :Β https://linktr.ee/virtualshivamin

πŸ§‘β€πŸ’»πŸ§‘β€πŸ’»Β Social Media LinksΒ ofΒ SHIVAM SINGHΒ (OWNER) :

πŸ‘‰πŸ»Β Instagram :Β https://www.instagram.com/virtualshivamin/
πŸ‘‰πŸ»Β Facebook Page :Β https://www.facebook.com/virtualshivamin/
πŸ‘‰πŸ»Β Twitter :Β https://twitter.com/virtualshivamin/
πŸ‘‰πŸ»Β Personal Linktree :Β https://linktr.ee/virtualshivaminΒ 

 

Leave a Reply

Your email address will not be published. Required fields are marked *