c语言程序设计实例答:给你一个,我自己编的:include "stdio.h"int _judge(int x){ if(x%400==0)return(1);else if(x%4==0&&x%100!=0)return(1);else return(0);} int _fun(int year,int month,int day){ int i,sum=0,a[12]={31,29,31,30,31,30,31,31,30,31,30,31};if(_judge(year)...
C语言程序设计 C++ 题目:邮资计算答:首先num[0]=0你没有排除;其次后边你直接排序是排不出结果的,因为里面有很多重复值。我给你重写了程序。include <stdio.h> int num[9999];void main(){ int a,b,c,d,ia,ib,ic,id,i=0,j,t,k,s=0;printf("请输入邮票面值: ");scanf ("%d%d%d",&a,&b,&c,&d);for (ia=0...