双号习题答案.docVIP

  • 4
  • 0
  • 约13.99万字
  • 约 19页
  • 2017-02-09 发布于河南
  • 举报
双号习题答案

双号题参考答案 第1章 C语言基础知识 基础部分 2.对 4.错 6.错 8.对 10.【1】函数 【2】main函数 12.【1】② ④ ⑥ 【2】① ③ ⑤ ⑦ ⑧ 14.1,1.000000 16.a*a*a*b*b/(c-d) 18.(略) 20.#include stdio.h main() { printf(**\n); printf(###\n); printf(3333\n); } 22.#include stdio.h main() { printf(My Name is ZhangSan.\n); printf(Im in Class\n); } 提高部分 4.a=15,b=20 26.a=10,b=10,c=12,d=11 28.-32765 第2章 顺序结构程序设计 基础部分 2. 对 4. #include stdio.h main() { printf(12.5 * 3.4 = %f\n,12.5*3.4); } 6. #include stdio.h main() { char x=’\0’,y=’\0’,t=’\0’; scanf(%c%c,x,y); printf(交换前: %c,%c\n,x,y); t=x; x=y; y=t; printf(交换

文档评论(0)

1亿VIP精品文档

相关文档