Tuesday, 11 December 2012

Implement isalpha

/*This function will chechk whether the input is an alphabate character or not.*/
int myisalpha(int x)
{
if((x >= 65 && x <=90) || (x >= 97 && x <= 122))
return 1;
else
return 0;
}

No comments:

Post a Comment