#include "stdio.h"
int main(int argv,char *argc[]){
int n;
printf("Input an integer(int n>=0)...\nn=");
if(scanf("%d",&n)!=1 || n<0){
printf("Input error, exit...\n");
return 0;
}
while(n%10==0)
n/=10;
while(n){
printf("%d",n%10);
n/=10;
}
printf("\n");
return 0;
}
运行样例“
追问
大佬直接教我怎么把这个单引号去掉吧
追答你在追问什么?运行结果不是有“黑框框”佐证吗?
追问大佬python你强不强 可否加个qq
追答不好意思,我写的是C,我不会python。刚没有看题目要求用python写。不好意思,就算是打扰你了!