写一段C语言编写程序:输入2个整数,输出倒序的这2个数。例如:输入 51 68 输出 68 51
时间: 2023-03-16 08:43:40 浏览: 129
#include <stdio.h>
int main()
{
int num1, num2;
printf("请输入2个整数:");
scanf("%d %d", &num1, &num2);
printf("倒序输出:%d %d", num2, num1);
return 0;
}
阅读全文
相关推荐
![text/x-c](https://img-home.csdnimg.cn/images/20250102104920.png)
![txt](https://img-home.csdnimg.cn/images/20241231045021.png)
![txt](https://img-home.csdnimg.cn/images/20241231045021.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pptx](https://img-home.csdnimg.cn/images/20241231044947.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)