Is Lower

#include "stdio.h"
char myalpha(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",myalpha(x));
    system("pause");
    return 0;
}

0 comments:

Post a Comment