hi friendzz !!
here is my program giving warning (possible use of 'ch' before the defination in function ) and also not showing correct o/p plz if anyone can help me
#include<stdio.h>
#include<conio.h>
void main (void)
{
int j;
char ch;
for(j=1;j<=5;j++)
{
printf("enter characters from a to e\n");
{
while((ch==getche()) != 'd')
{
printf("\nsorry it is incorrect");
printf("\n\ttry again");
}
printf("\nthats it GAMEOVER!!!");
}
}
getch();
}