본문 바로가기
알고리즘/BOJ(백준)

[ 백준-11654번 ] 아스키 코드

by 뎁꼼 2020. 6. 23.

1. 소스코드


- 매우 간단한 문제.

 

#include <cstdio>

char input;

int main() {

	//1
	//scanf("%c", &input);
	//printf("%d", input);

	//2
	printf("%d", getchar());

	return 0;
}