当前位置:网站首页>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 :
边栏推荐
- Detailed explanation of shuttle unity interworking principle
- math_泰勒公式
- Leetcode 1189. Maximum number of balloons (special character count)
- 第二章:4位卡普雷卡数,搜索偶数位卡普雷卡数,搜索n位2段和平方数,m位不含0的巧妙平方数,指定数字组成没有重复数字的7位平方数,求指定区间内的勾股数组,求指定区间内的倒立勾股数组
- 第二十章:y= sin(x)/x,漫步坐标系计算,y= sin(x)/x 带廓幅图形,奥运五环,小球滚动与弹跳,流水显示,矩形优化裁剪,r个皇后全控nxn棋盘
- Why should the gradient be manually cleared before back propagation in pytorch?
- 我眼中真正优秀的CTO长啥样
- Merge K ascending linked lists
- 第一章:求同吗小数和s(d, n)
- SSM integration - joint debugging of front and rear protocols (list function, add function, add function status processing, modify function, delete function)
猜你喜欢

Record: pymysql is used in pycharm to connect to the database

Verilog HDL continuous assignment statement, process assignment statement, process continuous assignment statement

These problems should be paid attention to in the production of enterprise promotional videos
![[wallpaper] (commercially available) 70 wallpaper HD free](/img/21/6802da1056a18157b15de85df60cf5.jpg)
[wallpaper] (commercially available) 70 wallpaper HD free

【LeetCode】【SQL】刷题笔记

东数西算拉动千亿产业,敢啃“硬骨头”的存储厂商才更有机会

Leetcode 1189. Maximum number of balloons (special character count)

第一章:递归求n的阶乘n!

Octopus online ecological chain tour Atocha protocol received near grant worth $50000

Ego planner code parsing Bspline_ Optimizer section (3)
随机推荐
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
Go home early today
Foundation of ActiveMQ
01. Preparation for automated office (free guidance, only three steps)
High concurrency Architecture - read write separation
第一章:求同吗小数和s(d, n)
[optics] dielectric constant calculation based on MATLAB [including Matlab source code 1926]
2020 intermediate financial management (escort class)
[new year job hopping season] test the technical summary of interviewers' favorite questions (with video tutorials and interview questions)
[leetcode] [SQL] notes
Flask generates swagger documents
【学术相关】顶级论文创新点怎么找?中国高校首次获CVPR最佳学生论文奖有感...
第一章: 舍罕王失算
[free sharing] kotalog diary2022 plan electronic manual ledger
math_泰勒公式
第二章:求长方体数组,指定区间内的完全数,改进指定区间内的完全数
我眼中真正优秀的CTO长啥样
Help change the socket position of PCB part
Pecan - route
Dynamic planning -- expansion topics