当前位置:网站首页>Chapter 1: find the factorial n of n!
Chapter 1: find the factorial n of n!
2022-07-03 19:21:00 【Shares_ four】
int main()
{
int k, n;
long t;
printf(" Please enter n (n < 3)", &n);
scanf("%d", &n);
t = 1;
for (k = 1; k <= n; k++)
t = t * k;
printf(" %d != %ld\n", n, t);
return 0;
}
result :
边栏推荐
- Succession of flutter
- 第一章:三位阶乘和数,图形点扫描
- ActiveMQ的基础
- EGO Planner代码解析bspline_optimizer部分(2)
- Help change the socket position of PCB part
- 04 -- QT OpenGL two sets of shaders draw two triangles
- Zhang Fei hardware 90 day learning notes - personal record on day 6. Please see my personal profile / homepage for the complete record
- EGO Planner代码解析bspline_optimizer部分(1)
- Comments on flowable source code (37) asynchronous job processor
- 第二章:基于分解的求水仙花数,基于组合的求水仙花数, 兰德尔数,求[x,y]内的守形数,探求n位守形数,递推探索n位逐位整除数
猜你喜欢

SQL injection for Web Security (1)

Flutter network and data storage framework construction-b1

我们做了一个智能零售结算平台

Record: solve the problem that MySQL is not an internal or external command environment variable

2022.2.14 Li Kou - daily question - single element in an ordered array

OSPF - detailed explanation of stub area and full stub area

Record: install MySQL on ubuntu18.04

We have built an intelligent retail settlement platform

Flutter网络和数据存储框架搭建 -b1

Think of new ways
随机推荐
Yolov3 network model building
第二十章:y= sin(x)/x,漫步坐标系计算,y= sin(x)/x 带廓幅图形,奥运五环,小球滚动与弹跳,流水显示,矩形优化裁剪,r个皇后全控nxn棋盘
Scrapy爬虫框架
Record: MySQL changes the time zone
Chapter 2: 4-digit Kaplan number, search even digit Kaplan number, search n-digit 2-segment sum square number, m-digit ingenious square number without 0, specify the number to form a 7-digit square nu
[leetcode] [SQL] notes
Why should we do feature normalization / standardization?
Valentine's Day - make an exclusive digital collection for your lover
EGO Planner代碼解析bspline_optimizer部分(1)
How does if ($variable) work? [repeat] - how exactly does if ($variable) work? [duplicate]
01. Preparation for automated office (free guidance, only three steps)
【水质预测】基于matlab模糊神经网络水质预测【含Matlab源码 1923期】
How to build an efficient information warehouse
Merge K ascending linked lists
Find the median of two positive arrays
Record: solve the problem that MySQL is not an internal or external command environment variable
东数西算拉动千亿产业,敢啃“硬骨头”的存储厂商才更有机会
Octopus online ecological chain tour Atocha protocol received near grant worth $50000
第一章:喝汽水,阶梯电费计算,阶梯电费计算函数,个人所税,求解平方根不等式,简化求解平方根不等式,求解调和级数不等式,解不等式:d<1+1/2-1/3+1/4+1/5-1/6+..士1/n
Ego planner code parsing Bspline_ Optimizer section (1)