![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
WX139216
小白小白
展开
-
数据结构:结构体的创建
edu数据结构结构体的创建编程练习原创 2022-12-13 14:31:01 · 1039 阅读 · 0 评论 -
简易水仙花数
简单的水仙花数判断建立stdio.h头文件math是数学的公式运用需要的头文件当我们需要用到数学公式时就需要添加math的函数头文件。#include<stdio.h>#include<math.h>int main(){ int a, b, c, n;//定义变量 for (n = 100; n < 1000; n++)//从100开始,999结束的自增1循环 { a = n / 100;//取百位数 b = n / 10 % 10;//取十位数原创 2022-01-18 18:07:15 · 298 阅读 · 0 评论