当前位置:网站首页>C language exercises_ one
C language exercises_ one
2022-07-07 02:46:00 【51CTO】
Be careful : Compiler uses as VS2019, Due to the compiler , The input functions of the following codes are written as scanf_s();
- Calculation n The factorial .
Code :
result :
- Calculation 1!+2!+3!+……+10!
Code :
perhaps :( This method is relatively simple , More efficient code )
result :
- Find a specific number in an ordered array n.( Explain two-point search )
Code :
result :
- Write code , Demonstrate the movement of multiple characters from both ends , Converging in the middle .
Code :
result :
- Write code to achieve , Simulate user login scenarios , And can only log in three times .( Only three passwords are allowed , If the password is correct Prompt to log in as , If all three inputs are wrong , Then exit the program .
Code :
result :
Thank you for watching , If there is any mistake , Welcome to point out ~~
边栏推荐
- Google Earth engine (GEE) -- 1975 dataset of Landsat global land survey
- Qpushbutton- "function refinement"
- 【Socket】①Socket技术概述
- The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
- Pgadmin4 of PostgreSQL graphical interface tool
- Have fun | latest progress of "spacecraft program" activities
- widerperson数据集转化为YOLO格式
- 1 -- Xintang nuc980 nuc980 porting uboot, starting from external mx25l
- Integerset of PostgreSQL
- Classify the features of pictures with full connection +softmax
猜你喜欢
Apifox,你的API接口文档卷成这样了吗?
Processus général de requête pour PostgreSQL
Mmdetection3d loads millimeter wave radar data
Linear list --- circular linked list
The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
Summer Challenge database Xueba notes (Part 2)~
leetcode:5. Longest palindrome substring [DP + holding the tail of timeout]
dotConnect for DB2数据提供者
NuScenes数据集关于Radar数据的统计
基于ensp防火墙双击热备二层网络规划与设计
随机推荐
MySQL --- 常用函数 - 字符串函数
运维管理系统有哪些特色
The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
巴比特 | 元宇宙每日必读:IP授权是NFT的破圈之路吗?它的难点在哪里?Holder该如何选择合作平台?...
fiddler的使用
电气工程及其自动化
Niuke programming problem -- double pointer of 101 must be brushed
写作系列之contribution
MySQL
Digital scrolling increases effect
Lombok makes the pit of ⽤ @data and @builder at the same time
如何设计好接口测试用例?教你几个小技巧,轻松稿定
What management points should be paid attention to when implementing MES management system
Pgadmin4 of PostgreSQL graphical interface tool
MATLB|具有储能的经济调度及机会约束和鲁棒优化
[software test] the most complete interview questions and answers. I'm familiar with the full text. If I don't win the offer, I'll lose
Qpushbutton- "function refinement"
4 -- Xintang nuc980 mount initramfs NFS file system
1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动
Code debugging core step memory