当前位置:网站首页>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 :
边栏推荐
- Free year-end report summary template Welfare Collection
- FBI警告:有人利用AI换脸冒充他人身份进行远程面试
- 第一章:三位阶乘和数,图形点扫描
- [optics] vortex generation based on MATLAB [including Matlab source code 1927]
- Flume learning notes
- Comments on flowable source code (37) asynchronous job processor
- 【Proteus仿真】用24C04与1602LCD设计的简易加密电子密码锁
- Counting from the East and counting from the West will stimulate 100 billion industries. Only storage manufacturers who dare to bite the "hard bone" will have more opportunities
- Web Security (VIII) what is CSRF attack? Why can token prevent csdf attacks?
- Common text labels
猜你喜欢
【光学】基于matlab涡旋光产生【含Matlab源码 1927期】
What does a really excellent CTO look like in my eyes
【学术相关】顶级论文创新点怎么找?中国高校首次获CVPR最佳学生论文奖有感...
03 -- QT OpenGL EBO draw triangle
第一章: 舍罕王失算
Record: writing MySQL commands
东数西算拉动千亿产业,敢啃“硬骨头”的存储厂商才更有机会
PyTorch中在反向传播前为什么要手动将梯度清零?
Why should we do feature normalization / standardization?
Ego planner code parsing Bspline_ Optimizer section (2)
随机推荐
FBI warning: some people use AI to disguise themselves as others for remote interview
Zhang Fei hardware 90 day learning notes - personal record of day 3, please see my personal profile / homepage for the complete
EGO Planner代码解析bspline_optimizer部分(2)
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
[optics] vortex generation based on MATLAB [including Matlab source code 1927]
BUUCTF
Basic principle of LSM tree
Leetcode 1189. Maximum number of balloons (special character count)
Dart JSON编码器和解码器剖析
Pecan — Overview
Zhang Fei hardware 90 day learning notes - personal records on day 4, please see my personal profile / homepage for the complete
为什么要做特征的归一化/标准化?
05 -- QT OpenGL draw cube uniform
[academic related] how to find the innovation of top papers? Chinese universities won the CVPR Best Student Thesis Award for the first time
Using the visualization results, click to appear the corresponding sentence
第一章:拓广同码小数和s(d, n)
Ego planner code parsing Bspline_ Optimizer section (1)
OSPF - detailed explanation of stub area and full stub area
东数西算拉动千亿产业,敢啃“硬骨头”的存储厂商才更有机会
Day10 ---- 强制登录, token刷新与jwt禁用