Public feed
#890949
//GROUP B: Nikhil P, Ian, Sahil N/*The function isalpha() returns non-zero if its argument is a letter of the alphabet. Otherwise, zero is returned. Based on the ASCII value of the character it will determine if it is an alphabetical character or not (Prototype: #include <ctype.h> int isalpha(int c); )./*/* Example 1 ISALPHA */#include <stdio.h>#include <ctype.h>int main (){char c;scanf( "%c", &c );if( isalpha(c) ) printf( "You entered a letter of the alphabet\n" );}/*Checks if the ASCII value passed in has a character equivalent to a number or letter(upper case or lower case). It returns non-zero for true, and zero for false.(Prototype :#include <ctype.h>int isalnum(int c); )/*/* Example 2 ISALNUM */#include <stdio.h>#include <ctype.h>int main (){ char c; scanf( "%c", &c ); if( isalnum(c) ) printf( "You entered the alphanumeric character %c\n", c ); }