Baekjoon 11654
아스키 코드


QUESTION ❔



CODE ⌨️

#include <iostream>

using namespace std;

char input;

int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);

	cin >> input;

	cout << (int) input << "\n";
	// A 65, a 97

	return 0;
}



RESULT 💛



SIMPLE DISCUSSION ✏️

문자열 관련 문제였다.



SOURCE 💎

Baekjoon_Link 👈 Click here


*****
NOT A TALENT ❎ NOT GIVING UP ✅
CopyRight ⓒ 2022 DCherish All Rights Reserved.