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

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

筛选

1147角谷猜想(while循环)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; cin >> N; while (N != 1) { ……

循环和if()语句

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

C语言训练-角谷猜想

摘要:解题思路:注意事项:参考代码:n = int(input())while n != 1:    if n%2 == 0:        print(f"{int(n)}/2={int(n/2)}") ……

最普通的解题方法

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

角谷猜想----java语言

摘要:import java.util.Scanner; public class Main{     public static void main(String[] args) {      ……