ProAnswers.org

Error in c program ...?

please answer to me for c language…

I want below program in c language

start…
#include
#include
main()
{
int value,achar;
clrscr();
printf(“enter any cherecter:- “);
scanf(”%d”,&achar);
value=<500;
printf("
ANSEE value is:- %d",value);
getch();
}

end…

I known error in logic (value=<500;)
but I want this Logic,
so What I Do ??
please answer me…
thanks…

2 Likes

you use (value<=500)