C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路以及注意事项:今天给大家分享的这题不难,但很搞笑哈。好久没写过怎么恶心的代码了,今天给大家开开眼哈。实例代码:#include"stdio.h" struct year { in…… 题解列表 2017年06月17日 0 点赞 1 评论 994 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码://jgt #include<stdio.h> struct DAY { int year; int month; int day; …… 题解列表 2017年10月30日 1 点赞 0 评论 749 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题11.1 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main { public static void ma…… 题解列表 2018年10月13日 1 点赞 0 评论 894 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:思绪有点乱,大概就这样了注意事项:参考代码:#includeint main(){ int year,month,day; scanf("%d %d %d",&year,&mon…… 题解列表 2020年11月23日 0 点赞 0 评论 403 浏览 评分: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 评论 426 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:#include #include struct date { int y; int m; int d }; int main() { in…… 题解列表 2021年01月30日 0 点赞 0 评论 332 浏览 评分:6.0
最笨的方法 摘要:解题思路:首先输入结构体一变量的年月日,然后转到count函数先对闰年进行判断,取余为零的就是闰年。下一步到对月份的判断,在把每个月份的数累加参考代码:#include <stdio.h>int co…… 题解列表 2021年05月07日 0 点赞 0 评论 369 浏览 评分:6.0
7月和8月都是大月,都是31天,所以在这里进行分类就可以很好解决这个问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct node{ int year; int month; …… 题解列表 2021年05月11日 0 点赞 0 评论 484 浏览 评分:6.0
优质题解 1049: [编程入门]结构体之时间设计,c++ 摘要:# DOTCPP1049: **题目描述:** [DOTCPP1024:计算该日在本年中是第几天(结构体之时间设计)](http://https://www.dotcpp.com/oj/prob…… 题解列表 2023年08月15日 0 点赞 1 评论 737 浏览 评分:6.0
优质题解 Manchester- C语言程序设计教程(第三版)课后习题11.1 摘要:解题思路:用一个长度为12的数组,记录每个月的天数,除了2月先不记录;输入日期,判断闰年2月赋值29,平年28;计算是第几天,输出;参考代码:#include <stdio.h> #include …… 题解列表 2017年12月20日 24 点赞 25 评论 8762 浏览 评分:6.5