[编程入门]结构体之时间设计-题解(c语言代码)附解 思路简单 摘要:#include<stdio.h> struct days{//定义结构体 int year; int month; int day; }p1; int main(){ sca…… 题解列表 2024年11月24日 4 点赞 0 评论 1011 浏览 评分:8.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct today getstruct(void); void output(struct today x); struc…… 题解列表 2024年11月11日 1 点赞 0 评论 459 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// …… 题解列表 2024年09月20日 0 点赞 0 评论 527 浏览 评分:0.0
判断一年的第几天 摘要:参考代码:#include<stdio.h>struct date { int year; int month; int day;};int main() { struct d…… 题解列表 2024年08月31日 1 点赞 0 评论 398 浏览 评分:9.9
无聊的星期六 摘要:#include <stdio.h> typedef struct days { int year; int month; int day; }days; …… 题解列表 2024年08月17日 0 点赞 0 评论 705 浏览 评分:0.0
1049: [编程入门]结构体之时间设计——题解 ```c#includetypedefstruct{intyear,month,day;}YEAR;intmain(){YEARa;intday=0;scanf("%d%d%d",&a.year,&a.month,&a.day);if(a.year%4==0&&a.year%100!=0||a.yea 题解列表 2024年08月03日 0 点赞 0 评论 709 浏览 评分:9.9
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> struct c{ int y; int m; int d; …… 题解列表 2024年06月11日 0 点赞 0 评论 476 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 ```c#includestructData{intyear;intmonth;intday;}data;intmain(){intmonths[]={31,28,31,30,31,30,31,31,30,31,30,31},sum=0,i;scanf("%d%d%d", 题解列表 2024年05月29日 0 点赞 0 评论 410 浏览 评分:9.9
1049时间设计(结构体实现) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct shijian{ int nian; int yue; int ru;}shijian;int main(…… 题解列表 2024年05月23日 0 点赞 0 评论 470 浏览 评分:0.0
不用结构体我照样写!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int number = 0;int i = 0;int year = 0;int month = 0;int day = 0;//这…… 题解列表 2024年05月12日 1 点赞 0 评论 519 浏览 评分:10.0