ASCII code checker | ASCII code finder
# include <iostream>
using namespace std;
void main(){
char character;
cout<<"Please enter the Character: ";
cin>>character;
int code=character; // for ASCII codes
cout<<"The ASCII code of this character is: "<<code<<endl;
}
using namespace std;
void main(){
char character;
cout<<"Please enter the Character: ";
cin>>character;
int code=character; // for ASCII codes
cout<<"The ASCII code of this character is: "<<code<<endl;
}
Comments
Post a Comment