#include<iostream.h>
#include<stdlib.h>
int main(void)
{
char a,q;
cout<<"Enter a char\n";
cin>>a;
q=a;
cout<<atoi(&a)<<",";
cout<<atoi(&q);
return 0;
}
*************************************
output for this code for input of (2 ,3,5):
2,22
3,33
5,55
**************************************...
I think answers should be:
2,2
3,3
5,5