C Primer Plus编程习题答案
HaHaNobody
Ph.D. student
展开
-
C Primer Plus第七章编程练习答案(完整版)
前段时间有事耽搁了,所以更新速度慢了很多第一题//7-1#include<stdio.h>int main(){ char ch; int sp=0; int nl=0; int other=0; while((ch=getchar()) != '#') { if(ch == ' ') sp++; else if(ch == '\n') nl+...原创 2020-04-23 18:53:09 · 2429 阅读 · 3 评论 -
C Primer Plus第六章编程练习答案(完整版)
以下代码均在Dev-C++中编译通过第一题//6.16.1#include<stdio.h>int main(){ char table[26]; int i; for(i=0;i<26;i++) table[i]='a'+i; for(i=0;i<26;i++) printf("%c",table[i]); return 0;}第二题...原创 2020-03-24 14:50:57 · 710 阅读 · 2 评论 -
C Primer Plus第五章编程练习答案(完整版)
C Primer Plus 第五章编程练习答案(完整版)本人是一名计算机专业在读学生,因为网上搜到的编程答案总是题号不完整,所以附上自己写的源代码,希望能够帮到大家,如有错误希望大家指正,也可以一起讨论,蟹蟹!第一题//5.11.1#include<stdio.h>#define convert 60;int main(){ printf("Please tell us...原创 2020-03-10 23:15:26 · 1074 阅读 · 6 评论