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