C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码://jgt #include<stdio.h> struct DAY { int year; int month; int day; …… 题解列表 2017年10月30日 1 点赞 0 评论 727 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题11.1 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main { public static void ma…… 题解列表 2018年10月13日 1 点赞 0 评论 874 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:思绪有点乱,大概就这样了注意事项:参考代码:#includeint main(){ int year,month,day; scanf("%d %d %d",&year,&mon…… 题解列表 2020年11月23日 0 点赞 0 评论 381 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{ int year; int month; int day;};int main(){ int i,sum=0;…… 题解列表 2020年11月23日 0 点赞 0 评论 355 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:#include #include struct date { int y; int m; int d }; int main() { in…… 题解列表 2021年01月30日 0 点赞 0 评论 320 浏览 评分:6.0
最笨的方法 摘要:解题思路:首先输入结构体一变量的年月日,然后转到count函数先对闰年进行判断,取余为零的就是闰年。下一步到对月份的判断,在把每个月份的数累加参考代码:#include <stdio.h>int co…… 题解列表 2021年05月07日 0 点赞 0 评论 309 浏览 评分:6.0
7月和8月都是大月,都是31天,所以在这里进行分类就可以很好解决这个问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct node{ int year; int month; …… 题解列表 2021年05月11日 0 点赞 0 评论 422 浏览 评分:6.0
优质题解 1049: [编程入门]结构体之时间设计,c++ 摘要:# DOTCPP1049: **题目描述:** [DOTCPP1024:计算该日在本年中是第几天(结构体之时间设计)](http://https://www.dotcpp.com/oj/prob…… 题解列表 2023年08月15日 0 点赞 1 评论 712 浏览 评分:6.0
优质题解 Manchester- C语言程序设计教程(第三版)课后习题11.1 摘要:解题思路:用一个长度为12的数组,记录每个月的天数,除了2月先不记录;输入日期,判断闰年2月赋值29,平年28;计算是第几天,输出;参考代码:#include <stdio.h> #include …… 题解列表 2017年12月20日 24 点赞 25 评论 8722 浏览 评分:6.5
[编程入门]结构体之时间设计 (Python描述) 摘要:```python x, y, z = map(int, input().split()) sn = 0 for i in range(1,y): sn += 30 if i…… 题解列表 2020年04月10日 0 点赞 0 评论 673 浏览 评分:7.0