guozi6

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 15 16 17 18 19

2023年4月25日

摘要: #include<iostream>#define TAXBASE 3500using namespace std;typedef struct{ long start; long end; double taxrate; }TAXTABLE;TAXTABLE taxtable[]={{0,1500 阅读全文
posted @ 2023-04-25 20:42 汀幻 阅读(11) 评论(0) 推荐(0) 编辑

2023年4月24日

摘要: #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数组中的数 阅读全文
posted @ 2023-04-24 20:05 汀幻 阅读(14) 评论(0) 推荐(0) 编辑

2023年4月21日

摘要: #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>> 阅读全文
posted @ 2023-04-21 22:33 汀幻 阅读(15) 评论(0) 推荐(0) 编辑

2023年4月20日

摘要: #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 阅读全文
posted @ 2023-04-20 18:42 汀幻 阅读(20) 评论(0) 推荐(0) 编辑

2023年4月19日

摘要: #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 阅读全文
posted @ 2023-04-19 22:33 汀幻 阅读(10) 评论(0) 推荐(0) 编辑

2023年4月18日

摘要: #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<<"请输入方程的系数:"<< 阅读全文
posted @ 2023-04-18 20:35 汀幻 阅读(21) 评论(0) 推荐(0) 编辑

2023年4月17日

摘要: #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+ 阅读全文
posted @ 2023-04-17 19:51 汀幻 阅读(12) 评论(0) 推荐(0) 编辑

2023年4月14日

摘要: #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 阅读全文
posted @ 2023-04-14 22:30 汀幻 阅读(11) 评论(0) 推荐(0) 编辑

2023年4月12日

摘要: 阅读全文
posted @ 2023-04-12 17:36 汀幻 阅读(4) 评论(0) 推荐(0) 编辑

上一页 1 ··· 15 16 17 18 19