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
#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Β