C Primer plus 习题5.3
来源:互联网 发布:点云数据处理算法 编辑:程序博客网 时间:2024/05/29 19:04
#include <stdio.h>
#define WEEK 7
int main()
{
int days;
printf("Please input the days:");
scanf("%d",&days);
while(days>0)
{
printf("%d days are %d weeks,%d days.\n",days,days/WEEK,days%WEEK);
printf("Please input the days:");
scanf("%d",&days);
}
return 0;
}
#define WEEK 7
int main()
{
int days;
printf("Please input the days:");
scanf("%d",&days);
while(days>0)
{
printf("%d days are %d weeks,%d days.\n",days,days/WEEK,days%WEEK);
printf("Please input the days:");
scanf("%d",&days);
}
return 0;
}
0 0
- C Primer plus 习题5.3
- c primer Plus第一章习题
- c primer plus第14章习题
- c primer plus 第二章习题摘录
- 《C Primer Plus》第一章 概览 课后习题
- C Primer Plus 第五章习题
- C primer plus第七章习题
- c primer plus 11章习题答案
- c primer plus第十一章课后习题
- C++primer plus 第五章习题!
- c++primer plus 第六章习题
- C++primer plus 第九章习题
- c++primer plus 第12章习题
- C Primer Plus 第六章部分习题
- 《C Primer Plus》第二章 C语言概述 课后习题
- 【C Primer Plus】【课后习题】第二章C语言概述
- 《C Primer Plus》习题一道---无聊而已
- C primer plus第1章(概览)习题
- Word2vec 中的数学原理详解
- laravel 事务与锁
- UFLDL教程练习(exercise)答案(1)
- 数论复习之费马与欧拉
- C++11 override 和 final
- C Primer plus 习题5.3
- hdu1281 棋盘游戏(最大匹配)
- Codeforces 432C Prime Swaps【筛法素数预处理+贪心】
- SVG
- QTableview常用几种代理总结
- leetcode-371. Sum of Two Integers 位运算的应用,递归,按位异或a^b
- Unity3D 使用NGUI制作简易弹出窗口声音控制器
- c++this指针
- 1011笔记 mongodb+mongoose+angularjs