Showing posts with the label Switch CaseShow all

Check given character is Vowel or not Using Switch

#include <stdio.h> #include <conio.h> int   main () {      char   ch ;      clrscr ();      printf ( "Enter any character:…


Nested Switch Case Example

#include <stdio.h> #include <conio.h> void   main () {      int   choice ,  ch1 ,  ch2 ;      clrscr ();           printf ( ...


Multicases Example

#include <stdio.h> #include <conio.h> void   main () {      float   p ,  r ,  n ,  i ,  basic ,  hra ,  da ,  pf ,  netsal ,  a…


Operator as Case in Switch Cases

#include   <stdio.h> #include   <conio.h> #include   <math.h> void   main () {      char   op ;      float   num1 ,  num2…


Find a Day from Week using Switch Case

#include   <stdio.h> #include   <conio.h> void   main () {      int   day ;      clrscr ();           printf ( "Enter day …