simple enum program in c

simple enum example program  in c

how to use enum in switch case

c program for enum

Program:-


Output:-

Enter your luck number
2
your luck color is blue



Output:-

Enter your luck number
5
your luck color is orange

Note:-
# enum take zero as default value

Leave reply

Add your comments here

Back to Top