题解 1053: 二级C语言-平均值计算 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int i,j=0,sum=0,a[10];float t; for(i=0;i<10;i++) { …… 题解列表 2021年11月11日 0 点赞 0 评论 225 浏览 评分:0.0
简单易懂的字符逆序 摘要:解题思路:输入的i存入数组后,反向输出数组注意事项:len的取值是重点,字符串最后默认有\0,注意下参考代码:#include <stdio.h>#include <string.h>int main…… 题解列表 2021年11月11日 0 点赞 0 评论 231 浏览 评分:0.0
蓝桥杯基础练习VIP-Sine之舞 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int a=0; int n; int AN(int b){ a++; if(a==b){ printf("sin…… 题解列表 2021年11月11日 0 点赞 0 评论 780 浏览 评分:9.9
利润计算C++程序解答 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double l; cin >> l; if (…… 题解列表 2021年11月11日 0 点赞 0 评论 375 浏览 评分:6.0
1010: [编程入门]利润计算(C语言代码和C++代码都有) 摘要:解题思路: 本题我们可以使用switch来做,这样子做出来更简洁。 不过在这之前,我们要先知道,switch-case结构其实只会判断一次 例如:int a = 0; switch…… 题解列表 2021年11月11日 0 点赞 1 评论 778 浏览 评分:4.7
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[12]={31,28,31,30,31,30,31,31,30,31,30,31}; …… 题解列表 2021年11月11日 0 点赞 0 评论 236 浏览 评分:0.0
1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],i,j; for(i=0; i<3; i++) { for(j…… 题解列表 2021年11月11日 0 点赞 0 评论 226 浏览 评分:0.0
题解 1029: [编程入门]自定义函数处理素数时尚再无红颜笑 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int j=0,x;scanf("%d",&x); for(int i=2;i>1&&i<x;i++) {…… 题解列表 2021年11月11日 0 点赞 0 评论 183 浏览 评分:0.0
1027wohuihuilaide正确的放马表该是这样 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,x,y,b,c; scanf("%d %d",&a,&b);x=a;y=b; while (b!…… 题解列表 2021年11月11日 0 点赞 0 评论 183 浏览 评分:9.9
[编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct stu{ char num[100]; char name[100]; int score[3];};…… 题解列表 2021年11月11日 0 点赞 0 评论 228 浏览 评分:0.0