题解列表
两个for循环解决问题
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,sum,n; scanf(&……
用数组进行数字逆序输出
摘要:解题思路:非常简单的用两个循环将数组输入与输出出来注意事项:用空格将打印输出的数组隔开参考代码:#include<stdio.h>int main(){ int arr[10]; int ……
[编程入门]宏定义之闰年判断
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define LEAP_YEAR(year)\{\ if((year % 4 == 0 &am……
[编程入门]实数的打印
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float num = 0; scanf(&qu……
1041: [编程入门]宏定义之找最大数
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define MAX(a, b, c)\{\ printf("%.3lf"……
[编程入门]电报加密
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[30……