i am not geting the correct output can anybody help me whats the pmistake i have done
# include<stdio.h>
# include<conio.h>
void main()
{
int color;
clrscr();
printf("enter any number");
scanf("%d",&color);
if(color ==1)
printf("violet");
if(color==2)
printf("indigo");
if(color==4)
printf("blue");
if(color==8)
printf("green");
if(color==16)
printf("yellow");
if(color==32)
printf("orange");
if(color==64)
printf("red");
getch();
}