自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 【C 程序设计】(第四版)谭浩强 著第九章习题

编译器:Dev-c /*第1题*/ #include <stdio.h> struct date{ int year; int month; int day; }; int main(int argc, char const *argv[]) { struct date today; scanf("%d %d %d", &today.year, &today.month, &today.day); int total = 0, i; int b[12] =

2020-07-26 10:34:10 222

原创 【C 程序设计】(第四版)谭浩强 著第三章习题解析

编译器:Dev-C++ /*第一题*/ #include <stdio.h> #include <math.h> int main(void) { double p,r=0.09,n=10.0; p = pow ((1 + r), n); printf ("倍数为%f\n", p); return 0; //我也不知道倍数为什么会这么高.. } /*第二题*/ #include <stdio.h> #include <math.h> int m

2020-06-25 00:05:23 468

原创 C语言解决水仙花问题(三位数)

#include <stdio.h> int main(void) { printf("水仙花数为:\n"); for (int a = 100;a <= 999; a++) { int ge, shi, bai, shui; bai = a / 100; //百位数 shi = a % 100 /10; //十位数 ge = a - ba...

2020-02-23 19:49:11 4297

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除