int element; /*assigned a hidden value */
/* In the following line, write what <cond> should be in: "switch(<cond>){" */
switch (element) {

/* The body of the switch statement goes here. The first case is written for you below. */
case 1 :
    printf("earth");
    break;

/* Write case 2 (water) here. */
case 2 :
	printf("water");
	break;
     

/* Write case 3 (air) here. */
case 3 :
    printf("air");
    break;

/* Write case 4 (fire) here. */
case 4 :
    printf("fire");
    break;

/* Write the default case here. */
default :
    printf("not a valid elements");
}
An integer variable, element is initialized as a hidden value. Write a switch statement with cases 1-4 that prints one of the four classical elements based on the hidden integer value.

Write the cases in the following order (beginning with case 1): earth, water, air, and fire.

The default case should print "not a valid element".