计算某日在那年中是第几天(注意闰年) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct YMD{ int year; int month; int day;};int main(){ s…… 题解列表 2019年04月09日 0 点赞 0 评论 515 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C++代码) 摘要:#include <iostream>using namespace std;struct date{ int year; int month; int day;};bool …… 题解列表 2019年03月25日 0 点赞 1 评论 1234 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;}aa;void main(){ int a[12]…… 题解列表 2019年02月18日 0 点赞 0 评论 427 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码)简单易懂的方法哦 摘要:解题思路:定义一个结构体模板,先判断是闰年还是平年,然后再分别赋值注意事项:参考代码:#include<stdio.h>struct Date { int month; int days;};int …… 题解列表 2019年02月16日 0 点赞 0 评论 594 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路: 思考半天没想出来,结果用一个数组解决了,感觉自己的代码还可以再 题解列表 2019年02月14日 0 点赞 0 评论 502 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:#include <stdio.h>int check(int year){ if((year%4==0)&&(year%100!=0)|(year%400==0)) return 1; …… 题解列表 2019年01月22日 0 点赞 0 评论 540 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int sum,i; &n 题解列表 2019年01月14日 0 点赞 0 评论 714 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{ int year; int month; int day;};int main(){ int i,sum; i…… 题解列表 2019年01月05日 1 点赞 2 评论 1317 浏览 评分:9.8
优质题解 小白也能看懂的C语言结构体 (C语言爱好者) 摘要:解题思路:第一步:定义结构体为了书写方便,我将结构体重名为DATE。第二步:用数组保存平年的12个月份的天数。什么是平年?是否有人不知道,平年是和闰年相对的,平年的2月是28天,闰年的2月是29天,所…… 题解列表 2019年01月04日 5 点赞 2 评论 2200 浏览 评分:9.2
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include struct day { int year; int month; int day…… 题解列表 2019年01月03日 4 点赞 3 评论 642 浏览 评分:9.0