📅  最后修改于: 2022-03-11 14:44:55.089000             🧑  作者: Mango
#include
using namespace std;
int main() {
char c;
cout << "Enter a character: ";
cin >> c;
cout << "ASCII Value of " << c << " is " << int(c);
return 0;
}