#include<stdio.h> #include<stdlib.h> int main() { int a,b,c,s; scanf("%d",&s); a=s/100; b=s%100/10; c=s%100%10; printf("%d%d%d",c,b,a); system("pause"); return 0; }
原文地址:https://www.cnblogs.com/chenlong991223/p/9720315.html
时间: 2024-08-29 10:36:55
#include<stdio.h> #include<stdlib.h> int main() { int a,b,c,s; scanf("%d",&s); a=s/100; b=s%100/10; c=s%100%10; printf("%d%d%d",c,b,a); system("pause"); return 0; }
原文地址:https://www.cnblogs.com/chenlong991223/p/9720315.html