1、-_C+与数据结构基础简明教程课后习题答案1-7-1/输出一个数的 10 倍#include using namespace std;int main()couta;coutusing namespace std;int main()double x,y,min;coutxy;min=(xy?y:x);coutusing namespace std;int main()coutrad;double c,s;c=2*3.14*rad;s=3.14*rad*rad;coutusing namespace std;int main()int hour,min,second;hour=10000/36
2、00;min=(10000%3600)/60;second=10000-hour*3600-60*min;coutusing namespace std;int main()int num,num_bai,num_shi,num_ge;coutnum;num_bai=num/100;num_shi=(num-num_bai*100)/10;num_ge=num-num_bai*100-num_shi*10;coutusing namespace std;int main()double y,n;coutn;if (n0) y=n+1;if (nusing namespace std;int m
3、ain()double fenshu;int xuehao;char dengji;int i;for (i=1;ifenshu;if (fenshu=90int main()char zifu;int ascii;coutzifu;ascii=zifu;if (ascii=48int main()int xishu=-1;double danshu=1.0;int i=1;double sifenzhipi=0;doxishu=xishu*(-1);danshu=1.0/(2*i-1);sifenzhipi=sifenzhipi+xishu*danshu;-_i+;while(danshu=
4、0.000001);cout#include using namespace std;int main()int b=2;int feibo1=0;int feibo2=1;coutusing namespace std;int main()char zimu;int a,e,i,o,u;a=e=u=i=o=0;begin:cinzimu;switch(zimu)case a :a+;break;case e :e+;break;case i :i+;break;case o :o+;break;case u :u+;break;case # :goto end;goto begin;end:cout-_using namespace std;int main()int i,j;int sum=0;for (i=5;iusing namespace std;int main()int num=1;int sushu=0;start:;num+;for (int i=2;iusing namespace std;int main()int x,y,z;for(x=0;x