iam creating a program that the user will enter (upper/lower case) from A-H or (a-h)
how can i do that with an if statement this is what i did. but is not working
Code:#include<stdio.h> #include<conio.h> #include<stdlib.h> int main () { system("cls"); float a; scanf("\n%f",&a); if((a==A)||(a==H)&&(a==a)||(a==h)); { printf("hi"); } else { printf("hello"); } getch(); }