优质题解 [编程入门]结构体之时间设计-题解(C语言代码) 摘要:#### 原题链接:[结构体之时间设计](https://www.dotcpp.com/oj/problem.php?id=1049 "结构体之时间设计") #### 解题思路: **1、…… 题解列表 2019年07月22日 1 点赞 30 评论 7197 浏览 评分:9.5
1049题结构体之时间设计-题解(C语言代码)简单运用结构体且思路注解清晰代码简单 摘要:思路:将月份事先定义在数组中,计算天数比较方便。 注意:见注解。 ```c #include void JudgeDay(int a,int b,int c); struct time …… 题解列表 2020年03月27日 0 点赞 6 评论 1109 浏览 评分:9.5
[编程入门]结构体之时间设计-题解(C语言代码) 摘要: #include int leapYear ( int year ) { if( year % 4 == 0 ) { i…… 题解列表 2020年04月28日 0 点赞 2 评论 1084 浏览 评分:9.5
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 如果你看不懂这里的其他题解 点击我 摘要:题目分析 本题主要是训练结构体的创建 声明用法代码#include<stdio.h> leapyear(int a)//判断是否为闰年 { int b; if((a%4==0…… 题解列表 2017年06月13日 19 点赞 8 评论 2332 浏览 评分:9.8
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 评论 1367 浏览 评分:9.8
[编程入门]结构体之时间设计-题解(C语言代码)(简单明了,新手秒懂) 摘要:```c #include struct Date { int nian;//年 int yue;//月 int ri;//日 }; int main() { s…… 题解列表 2019年08月20日 0 点赞 3 评论 1426 浏览 评分:9.8
[编程入门]结构体之时间设计-题解(Python代码) python 3行 摘要:strftime() 函数接收以时间元组,并返回以可读字符串表示的当地时间,格式由参数format决定. %y 两位数的年份表示(00-99) %Y 四位数的年份表示(000-9999) %m …… 题解列表 2019年11月22日 0 点赞 4 评论 1475 浏览 评分:9.8
优质题解 崭新出厂,好摩易懂,可小刀 摘要:解题思路:1、定义结构体,并定义结构体变量 2、闰年:普通闰年:公历年份是4的倍数,且不是100的倍数的,为闰年(如2004年、2020年等就是闰年)。世纪闰年:公历年份是…… 题解列表 2023年06月10日 1 点赞 8 评论 2351 浏览 评分:9.8
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 评论 999 浏览 评分: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 评论 908 浏览 评分:9.9