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