当前位置:网站首页>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;
}
边栏推荐
- In 2022, financial products are not guaranteed?
- Classification and application of AI chips
- Entity framework calls Max on null on records - Entity Framework calling Max on null on records
- Unity performance optimization reading notes - explore performance issues -profiler (2.1)
- [ES6] template string: `string`, a new symbol in es2015
- (August 10, 2021) web crawler learning - Chinese University ranking directed crawler
- World document to picture
- Practice of retro SOAP Protocol
- [directory] search
- netstat
猜你喜欢
(August 9, 2021) example exercise of air quality index calculation (I)
MPLS experiment
MySQL advanced review
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12
Fastlane 一键打包/发布APP - 使用记录及踩坑
ASP. Net razor – introduction to VB loops and arrays
Games101 Lesson 8 shading 2 Notes
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
French Data Protection Agency: using Google Analytics or violating gdpr
【数据聚类】第四章第一节3:DBSCAN性能分析、优缺点和参数选择方法
随机推荐
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
CSDN documentation specification
Exness: positive I win, negative you lose
Method of setting default items in C # ComboBox control code
Guava ImmutableSet. Builder source code analysis, shift original code, complement code, reverse code review
Iframe to only show a certain part of the page
TCP slicing and PSH understanding
Entity framework calls Max on null on records - Entity Framework calling Max on null on records
(August 10, 2021) web crawler learning - Chinese University ranking directed crawler
[ES6] template string: `string`, a new symbol in es2015
When synchronized encounters this thing, there is a big hole, pay attention!
Error: Failed to download metadata for repo ‘AppStream‘: Cannot download repomd. XML solution
French Data Protection Agency: using Google Analytics or violating gdpr
Global and Chinese market of dental elevators 2022-2028: Research Report on technology, participants, trends, market size and share
Clockwise rotation method of event arrangement -- PHP implementation
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 19
Force buckle 142 Circular linked list II
Global and Chinese markets for environmental disinfection robots 2022-2028: Research Report on technology, participants, trends, market size and share
8.8.1-PointersOnC-20220214
The most robust financial products in 2022