diff --git a/src/charToAscii.cpp b/src/charToAscii.cpp new file mode 100644 index 0000000..553bcc7 --- /dev/null +++ b/src/charToAscii.cpp @@ -0,0 +1,9 @@ +#include + +using namespace std; + +int main(){ + char c; + cin>>c; + cout<<(int)c<<"\n"; +} \ No newline at end of file