// 정수 N입력 받기 -> M = 자리순 바꿔 출력\n, 1 ~ M 중 2의 배수, 3의 배수 개수 출력(없으면 0출력)
#include <stdio.h>
int main() {
int N;
scanf("%d", &N);
// for (int i = 0; i < ; i++)
for (int i = 2; i > 0; i--) {
//printf("%d", );
printf("%d", N % 10);
i = N / 10;
printf("%d", i);
}
// printf("%d", N / 10);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: