牛客网编程初学者入门训练 BC19-反向输出四位数。#include <stdio.h>int main(){ int n = 0; scanf("%d", &n); while (n != 0) { printf("%d", n % 10); n = n / 10; } return 0;} c语言初学之路 2023-05-17 53 点赞 0 评论 80 浏览