[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct numberofday{ int year; int month; int day;} d;const int r=30;…… 题解列表 2020年11月28日 0 点赞 0 评论 605 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> typedef struct { int year; int month; int day; }…… 题解列表 2020年11月24日 0 点赞 0 评论 216 浏览 评分: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 评论 482 浏览 评分: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 评论 352 浏览 评分:6.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:思绪有点乱,大概就这样了注意事项:参考代码:#includeint main(){ int year,month,day; scanf("%d %d %d",&year,&mon…… 题解列表 2020年11月23日 0 点赞 0 评论 380 浏览 评分: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 评论 926 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:注意for循环的控制条件参考代码:#include<stdio.h> struct Date { int year; int mouth; int day; }…… 题解列表 2020年11月09日 0 点赞 0 评论 517 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C++代码-类的基础运用:构造函数,析构函数,this指针) 摘要: #include using namespace std; class date { public: int year; in…… 题解列表 2020年10月20日 0 点赞 0 评论 452 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:#include struct DATE { int year; int month; int day; }date; int main() { scanf("%…… 题解列表 2020年10月17日 0 点赞 0 评论 366 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:参考了其他人的,加了注释,可读性更高 ```c #include struct data{ int year; int month; int day; }; …… 题解列表 2020年10月12日 0 点赞 0 评论 286 浏览 评分:0.0