Switch case Program in C Language :
Switch Case program Output :
(1).
(2).
Copy from below 📝 : :
[ show your fortune for your name ]
#include<stdio.h>
#include<conio.h>
int main(){ char name; printf("enter your name's first alphabet \n"); scanf("%c",&name); switch(name) { case'a': printf("you are very curious "); break; case'b': printf("you are always busy "); break; case'd': printf("you are fullfil to ego "); break; case'g': printf("you are very polite "); break; case'c': printf("you are always happy"); break; case'l': printf("you are very helpful "); break; case'h': printf("you are hardworker"); break; default: printf("you are always joyful"); }}
For more rogram :
Download pdf file of Program :
0 Comments
Thanks for comments.......your comment is very valueable for us.Thanks for joining us.