当前位置:网站首页>C language simple login
C language simple login
2022-06-26 20:19:00 【the best b】
My login is limited to what I have learned , I worked on this code for almost half an hour , Then I searched for mistakes for more than half an hour , Finally, after the big brother Zhige carefully observed, he saw the problem , Although the code is not well written , But it's also me c Language has taken a small step .
#include<stdio.h>
int main(){
int number=0;
int count=0;
printf(" Please enter the account :");
scanf("%d",&number);
while(number==10){
printf(" Please input a password :");
scanf("%d",&count);
if (count==10){
printf(" Login successful ") ;}
else
printf(" Please re-enter :") ;
return 0;
}
}边栏推荐
- 回溯思路详解
- On the origin of the dispute between the tradition and the future of database -- AWS series column
- The successfully resolved idea cannot use the log normally after referencing Lombok's @slf4j
- Why don't I recommend going to sap training institution for training?
- C primer plus learning notes - 3. Character IO (input / output)
- MySQL中存储过程的详细详解
- Project practice 6: distributed transaction Seata
- 抖音实战~分享模块~复制短视频链接
- 【最详细】最新最全Redis面试大全(42道)
- 515. 在每个树行中找最大值
猜你喜欢

Kubernetes 资源拓扑感知调度优化

Wechat applet custom pop-up components
![[recommended collection] these 8 common missing value filling skills must be mastered](/img/ab/353f74ad73ca592a3f97ea478922d9.png)
[recommended collection] these 8 common missing value filling skills must be mastered

Guomingyu: Apple's AR / MR head mounted display is the most complicated product in its history and will be released in January 2023

MySQL - subquery usage

关于Qt数据库开发的一些冷知识

Pinda general permission system (day 1~day 2)

Review of watermelon book (VII): Bayesian classifier (manual push + code demo)
Detailed explanation of stored procedures in MySQL
![[serialization] how to master the core technology of opengauss database? Secret 5: master database security (6)](/img/a8/622cddae2ac8c383979ed51d36bca9.jpg)
[serialization] how to master the core technology of opengauss database? Secret 5: master database security (6)
随机推荐
JWT operation tool class sharing
慕课8、服务容错-Sentinel
好物推薦:移動端開發安全工具
Installation and use of filebeat
Request method 'POST' not supported
[MySQL series] collection of common working SQL (continuous update)
问题解决:虚拟机无法复制粘贴文件
剑指 Offer II 091. 粉刷房子
MySQL中存储过程的详细详解
Unity——Mathf. Similarities and differences between atan and atan2
Tiktok practice ~ sharing module ~ generate short video QR code
【最详细】最新最全Redis面试大全(70道)
慕课11、微服务的用户认证与授权
浏览器事件循环
飞天+CIPU体为元宇宙带来更大想象空间
清华大学就光刻机发声,ASML立马加紧向中国出口光刻机
30. concatenate substrings of all words
Tree array
Muke 11. User authentication and authorization of microservices
Chain game development finished product source code chain game system development details