-
-
Save amankharwal/1683b5bbad8a3bf6471bd6b0fb5006b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(){ | |
char ch1; | |
cout<<"Enter any number : "; | |
cin>>ch1; | |
cout<<"The ASCII Character of" <<ch1<<" is "<<int(ch1)<<endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment