[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> typedef struct { int year; int month; int day; }…… 题解列表 2020年11月24日 0 点赞 0 评论 189 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码)这个代码真的很棒!勿喷!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a[12]={31,28,31,30,31,30,31,31,30,31,30,31}; int b…… 题解列表 2020年11月23日 0 点赞 3 评论 450 浏览 评分:8.9
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{ int year; int month; int day;};int main(){ int i,sum=0;…… 题解列表 2020年11月23日 0 点赞 0 评论 294 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:思绪有点乱,大概就这样了注意事项:参考代码:#includeint main(){ int year,month,day; scanf("%d %d %d",&year,&mon…… 题解列表 2020年11月23日 0 点赞 0 评论 350 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>struct time{int year;int month;int day;}…… 题解列表 2020年11月18日 0 点赞 0 评论 790 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:注意for循环的控制条件参考代码:#include<stdio.h> struct Date { int year; int mouth; int day; }…… 题解列表 2020年11月09日 0 点赞 0 评论 458 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C++代码-类的基础运用:构造函数,析构函数,this指针) 摘要: #include using namespace std; class date { public: int year; in…… 题解列表 2020年10月20日 0 点赞 0 评论 414 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:#include struct DATE { int year; int month; int day; }date; int main() { scanf("%…… 题解列表 2020年10月17日 0 点赞 0 评论 305 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:参考了其他人的,加了注释,可读性更高 ```c #include struct data{ int year; int month; int day; }; …… 题解列表 2020年10月12日 0 点赞 0 评论 255 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路: 不知道为什么使用typedef答案就是错误,搞不懂,求大神解答。注意事项:参考代码:#include<stdio.h> struct date{ int year; int month…… 题解列表 2020年09月26日 0 点赞 0 评论 571 浏览 评分:0.0