解题思路:
注意事项:
参考代码:
#include <iostream>
using namespace std;
int main()
{
int a,b,c,d;
cin>>d;
a=d/100;
b=d/10%10;
c=d%10;
cout << a << endl;
cout << b << endl;
cout << c << endl;
return 0;
}
0.0分
1 人评分
多输入输出练习1 (C语言代码)浏览:1206 |
C语言程序设计教程(第三版)课后习题7.5 (C语言代码)浏览:879 |
【偶数求和】 (C语言代码)浏览:583 |
关于C语言变量位置的问题浏览:290 |
1013题解浏览:592 |
【偶数求和】 (C语言代码)浏览:454 |
找出最长的字符串来 (C语言代码)浏览:1820 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:604 |
C语言程序设计教程(第三版)课后习题1.6 (C语言代码)浏览:790 |
1250题解浏览:591 |