C程序设计(第四版)1-6章习题答案.docVIP

  • 4059
  • 3
  • 约2.6万字
  • 约 31页
  • 2017-09-25 发布于江苏
  • 举报
C程序设计(第四版)1-6章习题答案.doc

Xt1-5 #include stdio.h int main ( ) { printf (**************************\n\n); printf( Very Good!\n\n); printf (**************************\n); return 0; } Xt1-6 #include stdio.h int main() {int a,b,c,max; printf(please input a,b,c:\n); scanf(%d,%d,%d,a,b,c); max=a; if (maxb) max=b; if (maxc) max=c; printf(The largest number is %d\n,max); return 0; } Xt3-1 #include stdio.h #include math.h int main() {float p,r,n; r=0.1; n=10; p=pow(1+r,n); printf(p=%f\n,p); return 0; } Xt3-4(1) #include stdio.h int main() {int c1,c2; c1=197; c2=198; printf(c1=

文档评论(0)

1亿VIP精品文档

相关文档