金帅君~题解1049 摘要:解题思路:用一个长度为12的数组,记录每个月的天数,除了2月先不记录;输入日期,判断闰年2月赋值29,平年28;计算是第几天,输出;参考代码1:#include <iostream> #includ…… 题解列表 2018年03月22日 2 点赞 0 评论 1179 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:#include <stdio.h>struct days{int year;int month;int day;};int judge(int year){ int b; if((yea…… 题解列表 2018年03月04日 0 点赞 0 评论 762 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 给出年月日求天数 { public static void main(St…… 题解列表 2018年01月05日 0 点赞 0 评论 927 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (Java代码) 摘要:解题思路:先算够整月,再加上不够整月的天数注意事项:润年参考代码:import java.util.*;public class A1049 { public static void main(Str…… 题解列表 2018年01月02日 0 点赞 0 评论 937 浏览 评分:0.0
琪露诺的编程教室(C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int wmw(int a){ int b; if(a%400==0||a&4==0&&a%…… 题解列表 2017年12月26日 0 点赞 0 评论 900 浏览 评分:0.0
优质题解 Manchester- C语言程序设计教程(第三版)课后习题11.1 摘要:解题思路:用一个长度为12的数组,记录每个月的天数,除了2月先不记录;输入日期,判断闰年2月赋值29,平年28;计算是第几天,输出;参考代码:#include <stdio.h> #include …… 题解列表 2017年12月20日 24 点赞 25 评论 8762 浏览 评分:6.5
WU-C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:参考代码:#include<stdio.h> struct { int year; int month; int day; }a; int main() { int sum;…… 题解列表 2017年12月10日 3 点赞 1 评论 634 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,y,r,i; cin>>n>>y>>r; switch(…… 题解列表 2017年11月16日 0 点赞 0 评论 943 浏览 评分:0.0
非常简单的算法,题解1049:C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> struct Date { int year; int month; int …… 题解列表 2017年11月07日 0 点赞 0 评论 828 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码://jgt #include<stdio.h> struct DAY { int year; int month; int day; …… 题解列表 2017年10月30日 1 点赞 0 评论 749 浏览 评分:6.0