#include<stdio.h>
int main()
{
char i;
printf(“Enter the value of i”);
scanf(“%c”,&i);
switch(i)
{
case ’0′:
printf(“Black”);
break;
case ’1′:
printf(“brown”);
break;
case ’2′:
printf(“Red”);
break;
case ’3′:
printf(“Orange”);
break;
case ’4′:
printf(“Yellow”);
break;
case ’5′:
printf(“Green”);
break;
case ’6′:
printf(“Grey”);
}
return 0;
}