当前位置:网站首页>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 ~~
边栏推荐
- wzoi 1~200
- Station B's June ranking list - feigua data up main growth ranking list (BiliBili platform) is released!
- STM32 project -- Topic sharing (part)
- Overall query process of PostgreSQL
- Software testing -- common assertions of JMeter interface testing
- Django数据库(SQlite)基本入门使用教程
- Redis入门完整教程:复制配置
- The 8 element positioning methods of selenium that you have to know are simple and practical
- Oracle中日期的使用方法实例
- C # / vb. Net supprime le filigrane d'un document word
猜你喜欢

Apifox,你的API接口文档卷成这样了吗?

Summer Challenge database Xueba notes (Part 2)~

How to build a 32core raspberry pie cluster from 0 to 1

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

Electrical engineering and automation

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

Redis入门完整教程:复制原理

Kysl Haikang camera 8247 H9 ISAPI test

1个月增长900w+播放!总结B站顶流恰饭的2个新趋势

Pioneer of Web3: virtual human
随机推荐
Google Earth engine (GEE) -- 1975 dataset of Landsat global land survey
wzoi 1~200
6-6漏洞利用-SSH安全防御
一本揭秘字节万台节点ClickHouse背后技术实现的白皮书来了!
C#/VB.NET 删除Word文檔中的水印
Google Earth Engine(GEE)——Landsat 全球土地调查 1975年数据集
Redis入门完整教程:复制拓扑
Introduction to the internal structure of the data directory of PostgreSQL
Code debugging core step memory
软件测试——Jmeter接口测试之常用断言
What management points should be paid attention to when implementing MES management system
Linear list --- circular linked list
1 -- Xintang nuc980 nuc980 porting uboot, starting from external mx25l
Remember the problem analysis of oom caused by a Jap query
Mmdetection3d loads millimeter wave radar data
Cloud Mail . NET Edition
[leetcode]Search for a Range
MMDetection3D加载毫米波雷达数据
Common fitting models and application methods of PCL
Redis入门完整教程:复制原理