2023年2月15日

输入一个四位数,反过来输出这个数。

摘要: #include <cstdio> using namespace std; char a, b, c, d; int main(){ scanf("%c%c%c%c", &a, &b, &c, &d); printf("%c%c%c%c", d, c, b, a); return 0; } 阅读全文

posted @ 2023-02-15 21:22 小雨谷 阅读(60) 评论(0) 推荐(0)

导航