当前位置:网站首页>C语言:求100-999是7的倍数的回文数
C语言:求100-999是7的倍数的回文数
2022-07-04 12:33: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;
}
边栏推荐
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9
- The detailed installation process of Ninja security penetration system (Ninjitsu OS V3). Both old and new VM versions can be installed through personal testing, with download sources
- Pat 1059 prime factors (25 points) prime table
- Number and math classes
- (August 9, 2021) example exercise of air quality index calculation (I)
- MYCAT middleware installation and use
- 'using an alias column in the where clause in PostgreSQL' - using an alias column in the where clause in PostgreSQL
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22
- Foreach (system.out:: println) usage
- Data transmission in the network
猜你喜欢

Detailed explanation of NPM installation and caching mechanism

vim 出现 Another program may be editing the same file. If this is the case 的解决方法

JD home programmers delete databases and run away. Talk about binlog, the killer of MySQL data backup

Method of setting default items in C # ComboBox control code
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9](/img/ed/0edff23fbd3880bc6c9dabd31755ac.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9

Reptile learning winter vacation series (2)

Memory computing integration: AI chip architecture in the post Moorish Era

DVC use case (VI): Data Registry

How to judge the advantages and disadvantages of low code products in the market?
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13](/img/29/49da279efed22706545929157788f0.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
随机推荐
OSI seven layer model & unit
Here, the DDS tutorial you want | first experience of fastdds - source code compilation & Installation & Testing
DVC use case (VI): Data Registry
Reptile learning winter vacation series (2)
Introduction to random and threadlocalrandom analysis
Memory computing integration: AI chip architecture in the post Moorish Era
(August 10, 2021) web crawler learning - Chinese University ranking directed crawler
The solution of permission denied
Flet教程之 02 ElevatedButton高级功能(教程含源码)(教程含源码)
Data communication and network: ch13 Ethernet
In 2022, financial products are not guaranteed?
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22
Reptile learning 4 winter vacation learning series (1)
SAP ui5 date type sap ui. model. type. Analysis of the display format of date
Games101 Lesson 8 shading 2 Notes
TCP fast retransmission sack mechanism
MySQL advanced (Advanced) SQL statement
Tableau makes data summary after linking the database, and summary exceptions occasionally occur.
13、 C window form technology and basic controls (3)
Method of setting default items in C # ComboBox control code