|
|
||||
首页
文学作品 网页设计 平面设计 程序设计 考试认证 基础办公 QQ资源 服务器架设 网站运营 网页资源
|
|
|
| 汉南在线 → 考试认证 → 计算机二级 | |||||||||||
第一章 1.1 .exe 1.3 顺序、选择、循环 第二章 一、选择题 2.1 B 2.2 D 2.3 B 2.7 B 2.9 D 2.10 D 2.11 B 2.12 B 二、填空题 2.14 12 12 2.15 4.2 4.2 2.16 { } 声明 2.17 关键字 用户标识 2.18 int float double 2.19 float a1=1,a2=1; 2.20 存储单元 2.21 3.5 2.23 把10赋值给s赋值 2.24 位 0,1 2.25 8 255 11111111 0 00000000 2.26 32767 -32768 0111111111111111 1000000000000000 2.27 10 8 16 三、上机改错 2.28 #include "stdio.h" main(){/* main function */ float r,s; /*/*r is radius */,/*s is area of circular*/*/ r=5.0; s=3.14159*r*r; printf("%f\n",s); } 2.29 #include "stdio.h" main(){/* main function */ float a,b,c,v; /*a,b,c are sides, vi is volume of cube */ a=2.0;b=3.0;c=4.0; v=a*b*c; printf("%f\n",v); } 第三章
| |||||||||||
| >> 相关文章 | |||||||||||
|
授权使用:汉南在线 http://hnzx.hzwz.net/ 经营许可证:陕ICP备05000109号 Powered by:汉南在线 Copyright (c) 2002-2008 汉南在线. All Rights Reserved . |