摘要:#include<stdio.h>void print(int s[]);int judge(int c[]);int j=0;int main(){ int sweet[10]={10,2,8,22,16,4,10,6,14,20}; int i,t[10],l; printf("child 1
阅读全文
04 2023 档案
摘要:#include<iostream>#include<math.h>using namespace std;int main(){int x1,x2,x3,x5,x8,b[10];double a,max=0.0;for(x8=0;x8<=2;x8++){//穷举法找到符合条件的结果从其中一个进行将
阅读全文
摘要:#include<iostream>#define TAXBASE 3500using namespace std;typedef struct{ long start; long end; double taxrate; }TAXTABLE;TAXTABLE taxtable[]={{0,1500
阅读全文
摘要:#include<iostream>#define N 10using namespace std;int main(){ int i,low=0,high=N-1,mid,k=-1,m; int a[N]={-3,4,7,9,13,45,67,89,100,180}; cout <<"a数组中的数
阅读全文
摘要:#include<iostream>using namespace std;int main(){int N=10,k=-1,mid,high=N-1,low=0,m;int a[N]={-3,4,7,9,13,45,67,89,100,180};cout<<"输入所选的值"<<endl;cin>>
阅读全文
摘要:#include<iostream>#include<math.h>#define N 10using namespace std; int main(){int a[N]={0};for(int i=0;i<N;i++){cin>>a[i];}for(int i=1;i<=N-1;i++){for
阅读全文
摘要:#include<iostream>using namespace std;int main(){float a,b,c,d,e;e=1000/(12*0.0063+1);d=(e+1000)/(12*0.0063+1);c=(d+1000)/(12*0.0063+1);b=(c+1000)/(12
阅读全文
摘要:#include<iostream>#include<cmath>using namespace std;int main(){ float fact(float a,float b,float c,float d);//定义 float a,b,c,d,x; cout<<"请输入方程的系数:"<<
阅读全文
摘要:#include<iostream>using namespace std;int main(){ int a,b,c; int i; for(a=0;a<=9;a++) { for(b=0;b<=9;b++) { for(i=31;i<100;i++) { c=i*i; if(c==1000*a+
阅读全文
摘要:#include<stdio.h> typedef struct data{ int year;//年 int month;//月 int day;//日} Data;int LeapYear(int year)//判断这一年是不是闰年{ if((year%4==0&&year%100!=0)||y
阅读全文