当前位置:网站首页>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 ~~
边栏推荐
- Qpushbutton- "function refinement"
- wireshark安装
- Apifox,你的API接口文档卷成这样了吗?
- 实施MES管理系统时,哪些管理点是需要注意的
- wzoi 1~200
- What are the applications and benefits of MES management system
- 如何设计好接口测试用例?教你几个小技巧,轻松稿定
- Statistics of radar data in nuscenes data set
- 写作系列之contribution
- Google Earth engine (GEE) -- 1975 dataset of Landsat global land survey
猜你喜欢

Derivative, partial derivative, directional derivative

Redis入门完整教程:复制配置

fiddler的使用

Processus général de requête pour PostgreSQL

基于ensp防火墙双击热备二层网络规划与设计

KYSL 海康摄像头 8247 h9 isapi测试

Integerset of PostgreSQL

3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp

软件测试——Jmeter接口测试之常用断言

The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
随机推荐
A new path for enterprise mid Platform Construction -- low code platform
安全交付工程师
数字滚动增加效果
leetcode:736. LISP syntax parsing [flowery + stack + status enumaotu + slots]
AWS学习笔记(一)
巴比特 | 元宇宙每日必读:IP授权是NFT的破圈之路吗?它的难点在哪里?Holder该如何选择合作平台?...
Planning and design of double click hot standby layer 2 network based on ENSP firewall
Work of safety inspection
The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
How to design interface test cases? Teach you a few tips to draft easily
QPushButton-》函数精解
Error in fasterxml tostringserializerbase
Convert widerperson dataset to Yolo format
unity中跟随鼠标浮动的面板,并可以自适应文字内容的大小
MySQL --- 常用函数 - 字符串函数
S120驱动器基本调试步骤总结
[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
Use of fiddler
1 -- Xintang nuc980 nuc980 porting uboot, starting from external mx25l
Redis入门完整教程:复制配置