#include <iostream.h>
using namespace std;
//variable_7.cpp
int main()
{
char ch1, ch2,ch3; //defined
cout <<"please print a character comma number : " ;
// initialized with user's input
cin >> ch1 >> ch2 >>ch3 ;
if (isalpha(ch1 ))
{
cout << " data type char = " << ch1 << endl;
}
if (isdigit(ch3 ))
{
cout << " data type digit= " << ch3 << endl;
}
if (ispunct(ch2 ))
{
cout << " data type punctuation= " << ch2 << endl;
}
return 0;
}