
c语言
文章平均质量分 52
卜想轮回
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
多函数计算并返回n的阶乘
程序功能:定义递归函数fact(n)计算n!的值(n>=0)。在主函数中输入n,输入递归函数fact(n)计算并返回n!的值,最后输出结果。#include <stdio.h>int main(){ int n; double t,fact(int n); printf("please input n"); scanf("%d",&n); t=fact(n); printf("t=%d的值:%.2e\n",n,t); ...原创 2020-11-13 08:50:20 · 1676 阅读 · 0 评论 -
二叉树的创建
二叉树的创建,二叉树头文件代码原创 2022-03-23 08:04:04 · 1881 阅读 · 0 评论 -
c语言大作业:员工工资管理系统
#include <stdio.h>#include <stdlib.h>#include <string.h>typedef struct employee{ int num; /* 工号 */ char name[20]; /* 姓名 */ int sex; /* 性别 1 man 2 madam*/ int department; /* 部门 */ int post; /* 1为经理、2为技术员、3为销售员、4为销售经理 *.原创 2021-06-21 01:02:04 · 5229 阅读 · 5 评论