Is Upper

#include "stdio.h"
char myisupr(int ch){
     if(ch>='A'&&ch<='Z')
     return(1);
     else
     return(0);
}
int main (void)
{
    char x;
    printf("Enter a Alphabet:\n");
    scanf("%c", &x);
    printf("%d\n", myisupr(x));
    system("pause");
    return 0;
}

0 comments:

Post a Comment