题解 1049: [编程入门]结构体之时间设计

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

日期非结构解法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, y, r; int h; int i; int sum=0; scanf("%d%d%d", &n……

思路清晰 switch+if 就OK了

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ struct time { int year; int mon; in……

结构体与时间设计C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Date{ int year; int mouth; int day;}data;int main(){ int i=0;……

C语言 结构体之时间设计&

摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct calendar{     int year;    int month;    int day;}date, * p;……