#include <iostream>
#include <cctype>  

using namespace std;

int main() 
{
	char x, y, z, i, j;
	
	x = 'a'; y = '1', z = 'A', i = '!', j = ' ';
	
	if (isalpha(x))
		cout << x << " is an alphabet character" << endl;
	else
	   	cout << x << " is not an alphabet character" << endl;
	   	
	if (isalpha(y))
		cout << y << " is an alphabet character" << endl;
	else
	   	cout << y << " is not an alphabet character" << endl;
	   	
	if (isalnum(y))
		cout << y << " is an alphabet-numeric character" << endl;
	else
	   	cout << y << " is not an alphabet-numeric character" << endl;  
		   
	if (isdigit(y))
		cout << y << " is a digit character" << endl;
	else
	   	cout << y << " is not a digit character" << endl;  	
		   
	if (islower(x))
		cout << x << " is a lowercase alphabet character" << endl;
	else
	   	cout << x << " is not lowercase alphabet character" << endl;
		   
	if (isupper(z))
		cout << z << " is an uppercase alphabet character" << endl;
	else
	   	cout << z << " is an uppercase alphabet character" << endl;	 
		   
	if (ispunct(i))
		cout << i << " is a punctuation character" << endl;
	else
	   	cout << i << " is a punctuation character" << endl;
		   
	if (isspace(j))
		cout << j << " is a space character" << endl;
	else
	   	cout << j << " is a space character" << endl;	   	 	     	       	
	
	
   	return 0;
}
