728x90
반응형
문제 : https://codeup.kr/problem.php?id=1125
문제 설명
10진수 정수를 입력받아 8진수와 16진수로 출력한다.
#include <stdio.h>
int main(){
int a;
scanf("%d",&a);
printf("%o %X",a,a);
return 0;
}
728x90
반응형
최근댓글