当前位置:网站首页>Find the multiplication order of n
Find the multiplication order of n
2022-06-26 01:49:00 【So it is^^】
#include<stdio.h>
int main()
{
int n = 0;
scanf("%d", &n);
int a = 1; // hold a Set to 1 Not set to 0 Zero times any number is 0,0x1x2x3x4......
int i = 1; // Multiplication means 1x2x3x4x5......xn, Ride all the way to n
for (i = 1; i <= n; i++) // hold i Set to 1 Not set to 0 Zero times any number is 0,0x1x2x3x4......
{
a = a * i; // from 1 Ride to n
}
printf("%d", a);
return 0;
}边栏推荐
- 元气少女王钰洁 受邀担任第六季完美童模全球总决赛代言人
- Abnova丨ACTN4 DNA 探针解决方案
- What happens from entering a web address in the browser's input box to seeing the contents of the web page?
- The answer skills and examples of practical cases of the second construction company are full of essence
- 微信朋友圈测试点
- 正则表达式
- Operation of simulated examination platform for electrical test questions in 2022
- Some summary of model compression
- Sunshine boy chenhaotian was invited to be the spokesperson for the global finals of the sixth season perfect children's model
- GNN (graph neural network) introduction vernacular
猜你喜欢

Dataframe extracts data from a column and converts it into a list

清甜女孩李斯霞 受邀担任第六季完美童模全球总决赛小主持人

二造实务案例答题技巧和举例汇总,满满都是精髓

cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network

recvmsg & sendmsg

Abnova丨抗GBA单克隆抗体解决方案

蒟蒻初学单片机的一丢丢笔记

21. Hoff circle transformation

轻轻松松理解指针

Cross validation -- a story that cannot be explained clearly
随机推荐
王老吉药业“关爱烈日下最可爱的人”公益活动在杭启动
热血男孩滕文泽 受邀担任第六季完美童模全球总决赛形象大使
Oracle數據庫完全卸載步驟(暫無截圖)
UN make (6) makefile的条件执行
Perfdog
25. histogram comparison
Operation of simulated examination platform for electrical test questions in 2022
二造实务案例答题技巧和举例汇总,满满都是精髓
cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network
Pixel6 unlock bootloader
Web Testing
PTA class a simulated third bomb: 1140-1143
Forgotten Jieba participle
PTA class a simulated sixth bomb: 1156-1159
wifi 的理论速度计算方法
The 19th - 22nd week of scientific research training - about tnet and memnet
Loss function of depth model
Code coverage test (I)
Sweet girl lisixia was invited to be the little host of the global finals of the sixth season perfect child model
Abnova丨CMV CISH 探头解决方案