题解 1147: C语言训练-角谷猜想

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

c语言代码题解

摘要:```c #include int main() { int n; scanf("%d", &n); while (n != 1) {// 当n不等于1时,继续……

关于函数的简单写法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun (int n ){     int c ;     scanf( "%d",&n ) ;     if ( n%2==0……

最普通的解题方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a;    scanf("%d",&a);    while(a!=1)    {        ……

1147: C语言训练-角谷猜想

摘要:解题思路:注意事项:printf写在式子前。参考代码:#include<stdio.h>#include<math.h> int main(){ int a; scanf("%d",&a); for ……