《c primer plus》编程练习回顾-第三章
2015-03-07 15:35
344 查看
3.11 编程练习
1.略
2.
3.
4.
5.
6.略
1.略
2.
#include<stdio.h> int main(void) { int a; printf("Please input an ASCII code:"); scanf("%d",&a); printf("%c\n",a); return 0; }
3.
#include<stdio.h> int main(void) { printf("\aStartled by the sudden sound ,Sally shouted,\"By the Great Pumpkin,what was that!\"\n"); return 0; }
4.
#include<stdio.h> int main(void) { float a; scanf("%f",&a); printf("The input is %f or %e",a,a); return 0; }
5.
#include<stdio.h> int main(void) { float s; int year; printf("Please input your age:"); scanf("%d",&year); s=year*3.156e7; printf("%f",s); return 0; }
6.略
相关文章推荐
- 《c primer plus》编程练习回顾-第四章
- C primer plus(第五版)编程练习第三章
- c++ primer plus 第六版第三章编程练习答案
- C Primer Plus 6 第三章编程练习
- C Primer Plus(第6版)第三章编程练习答案
- C++ Primer Plus 编程练习 第三章
- 《c primer plus》编程练习回顾-第十一章(上)
- C++ Primer Plus第六版 第三章 编程练习答案
- C++Primer Plus 第三章编程练习个人答案
- 《c primer plus》编程练习回顾-第八章
- 《c primer plus》编程练习回顾-第七章
- C Primer Plus (第五版) 第三章 编程练习
- 《c primer plus》编程练习回顾-第九章
- C++ Primer Plus第五版 第三章 编程练习答案
- C primer plus 第三章编程练习(个人练习答案)
- 《c primer plus》编程练习回顾-第十章
- 《c primer plus》编程练习回顾-第五章
- 《c primer plus》编程练习回顾-第六章
- c++ primer plus(第6版)中文版 第三章编程练习答案
- 《c primer plus》编程练习回顾-第二章