- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 第九章 C函数练习-C primer plus
#include<stdio.h> void to_binary(unsigned long); int main(void) { unsigned long number; printf("Enter an integer(q to quit):\n"); while ((scanf("%ul", &number)) == 1) { printf("
2016-11-11 20:11:27 416
原创 第七章 C控制语句:分支和跳转-C primer plus
2016年8月21日7.1 if 语句 判断一个数是不是素数. /* divisors.c -- 使用嵌套if显示一个数的约数*/ #include<stdio.h> #include<stdbool.h> int main(void) { unsigned long num; // 要检查的数 unsigned long div; // 可能的约数 bool isPr
2016-11-06 22:52:37 599
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人