自己做的新手,欢迎指导 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int mod(int y,i…… 题解列表 2024年12月20日 8 点赞 0 评论 513 浏览 评分:10.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int month_day[2][13]={{0,31,29,31,30,31,30,31,31,30,31,30,31},{0,3…… 题解列表 2017年07月24日 0 点赞 0 评论 989 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:#include<stdio.h>struct Year{int year; int month; int day;};int main(){ struct Year a; int year,mont…… 题解列表 2017年08月30日 0 点赞 0 评论 897 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:先上代码,我们只需要20行#include<stdio.h> int main() { int day = 0, i; int a[12] = { 31,28,31,30,31,30,31…… 题解列表 2018年08月09日 0 点赞 0 评论 1164 浏览 评分:9.9
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:````c /*定义一个结构体变量(包括年、月、日)。计算该日在本年中是第几天,注意闰年问题。 输入 年月日 输出 当年第几天 样例输入 2000 12 31 样例输出 366 …… 题解列表 2019年08月16日 0 点赞 5 评论 1868 浏览 评分:9.9
[编程入门]结构体之时间设计-题解(C语言代码) 摘要: #include struct time{ int year; int month; int day; }; int main…… 题解列表 2019年12月08日 0 点赞 0 评论 1317 浏览 评分:9.9
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:个人做法 #include #include struct TIME { int year; int month; …… 题解列表 2020年01月13日 0 点赞 0 评论 982 浏览 评分:9.9
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:```c #pragma warning(disable : 4996) #include int dispose(int year) { if (year % 4 == 0 && …… 题解列表 2020年01月31日 0 点赞 0 评论 960 浏览 评分:9.9
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:参考代码:#include<stdio.h> #include<stdlib.h> struct date { int day; int month; int year; } tim…… 题解列表 2020年08月07日 0 点赞 3 评论 1705 浏览 评分:9.9
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct{ int year,month,date;}time;int sum(int year, int m…… 题解列表 2021年01月12日 0 点赞 0 评论 668 浏览 评分:9.9