当前位置:网站首页>C語言:求100-999是7的倍數的回文數
C語言:求100-999是7的倍數的回文數
2022-07-04 12:35:00 【念遲魚學編程】
#include <stdio.h>
int main()
{
int i,a,c;
for(i = 100 ; i <= 999 ; i++){
a = i/100;
c = i%10;
if(a==c && i%7==0){
printf("%5d",i);
}
}
return 0;
}
边栏推荐
- SAP ui5 date type sap ui. model. type. Analysis of the display format of date
- C语言:求字符串的长度
- The solution of permission denied
- How to use "bottom logic" to see the cards in the world?
- MPLS experiment
- Uva536 binary tree reconstruction tree recovery
- 03_ Armv8 instruction set introduction load and store instructions
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 7
- TCP fast retransmission sack mechanism
- vim 出现 Another program may be editing the same file. If this is the case 的解决方法
猜你喜欢
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 5
Azure solution: how can third-party tools call azure blob storage to store data?
Flet教程之 02 ElevatedButton高级功能(教程含源码)(教程含源码)
Ternsort model integration summary
What if the chat record is gone? How to restore wechat chat records on Apple Mobile
netstat
2018 meisai modeling summary +latex standard meisai template sharing
(August 9, 2021) example exercise of air quality index calculation (I)
LVS load balancing cluster deployment - Dr direct routing mode
(2021-08-20) web crawler learning 2
随机推荐
Azure solution: how can third-party tools call azure blob storage to store data?
Practice of retro SOAP Protocol
昨天的事情想说一下
Servlet learning notes
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24
Snowflake won the 2021 annual database
LVS load balancing cluster deployment - Dr direct routing mode
Ternsort model integration summary
Process communication and thread explanation
DVC use case (VI): Data Registry
Realize cross tenant Vnet connection through azure virtual Wan
Paper notes ACL 2020 improving event detection via open domain trigger knowledge
[solve the error of this pointing in the applet] SetData of undefined
Xshell's ssh server rejected the password, failed to skip publickey authentication, and did not register with the server
[Chongqing Guangdong education] National Open University spring 2019 2727 tax basis reference questions
Practical dry goods: deploy mini version message queue based on redis6.0
In 2022, financial products are not guaranteed?
Unity performance optimization reading notes - explore performance issues -profiler (2.1)
World document to picture
Flet教程之 02 ElevatedButton高级功能(教程含源码)(教程含源码)