摘要:
这题考察的是读者对于while循环的基础能力,考点为通过while循环进行取模和取余运算,难度为:1颗星 1 #include<stdio.h> 2 int main() 3 { 4 int n; // 获取用户输入的数 5 int temp; // 临时变量,用于存放用户输入的数进行比较 6 in 阅读全文
摘要:
这题考察的是读者对于数组的基础能力,考点为数组的下标和排序,难度为:1颗星 1 #include<stdio.h> 2 int main() 3 { 4 int arry[10]; // 定义一个数组,用于存放 5 int i; // 临时变量,用完遍历 6 int temp; // 临时变量,作为 阅读全文