东莞清溪网站建设,佛山网站上排名,信息发布型网站,智控系统第5章以后的答案第五章答案-1-1. 【答案】#xff1a; (1) m1 n2 (2) m2 n3 (3) a0 并且a2. 【答案】#xff1a;(2)for (i0;i10;i) {……} 3. 【答案】#xff1a;32 4. 【答案】#xff1a; main() {char x ;int y;printf(please input :);scanf( (1) m1 n2 (2) m2 n3 (3) a0 并且a2. 【答案】(2)for (i0;i10;i) {……} 3. 【答案】32 4. 【答案】 main() {char x ;int y;printf(please input :);scanf(%c,x); if(x0 x31)printf(%c is controll char.,x); else if(x48 x57) printf(%c is number.,x); else if(xa xz)printf(%c is min letter.,x); else if(xA xZ)printf(%c is max letter.,x); else if((x8 x13)||(x92)||(x39)||(x34))printf(%c is transferred meaning char:); elseprintf(%c is other char.) ; }5. 【答案】 main() {float x;printf(please input x:); scanf(%f,x); if(x10) xx*x0.5;else if(x0 x10) xx*x*x-1;-2-else if(x0) xx*x4*x;printf(%f,x); }6. 【答案】#include main( ) {double m,i0.0;int t;printf(输入存入的本金);scanf(%lf,m);printf(\n 输入存钱的期限(整年数)); scanf(%d,t); switch(t) {case 1:im*0.00225;break; case 2:im*0.00276;break; case 3:im*0.00316;break; case 4:im*0.00395;break; case 5:im*0.00470;break;}printf(到期时的利息为%lf利息与本金的合计为%lf,i,mi); }7. 【答案】 main() { int x;int z,z1,z2;printf(please input a number x(0100) {z1x/100; xx-z1*100; z2x/10; xx-z2*10;-3-zz1z2x; }else if(x10) {z1x/10; xx-z1*10; zz1x;