当前位置:网站首页>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;
}
边栏推荐
- 13、 C window form technology and basic controls (3)
- Ultimate bug finding method - two points
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
- Detailed explanation of NPM installation and caching mechanism
- MySQL advanced review
- It's hard to hear C language? Why don't you take a look at this (V) pointer
- 2021-10-20
- Here, the DDS tutorial you want | first experience of fastdds - source code compilation & Installation & Testing
- Clion configuration of opencv
- Bottom Logic -- Mind Map
猜你喜欢
Games101 Lesson 8 shading 2 Notes
Detailed explanation of NPM installation and caching mechanism
LVS load balancing cluster deployment - Dr direct routing mode
Azure solution: how can third-party tools call azure blob storage to store data?
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15
Enter the smart Park, and change begins here
MySQL performance optimization index
Ternsort model integration summary
Memory computing integration: AI chip architecture in the post Moorish Era
Ultimate bug finding method - two points
随机推荐
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
Interview question MySQL transaction (TCL) isolation (four characteristics)
In 2022, financial products are not guaranteed?
Btrace tells you how to debug online without restarting the JVM
The most robust financial products in 2022
It's hard to hear C language? Why don't you take a look at this (V) pointer
Openssl3.0 learning 20 provider KDF
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 11
Ultimate bug finding method - two points
TCP slicing and PSH understanding
Mongodb vs mysql, which is more efficient
(2021-08-20) web crawler learning 2
How to use "bottom logic" to see the cards in the world?
Leetcode: 408 sliding window median
Global and Chinese market of ice water machines 2022-2028: Research Report on technology, participants, trends, market size and share
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
Clion configuration of opencv
Common tips
First knowledge of spark - 7000 words +15 diagrams, and learn the basic knowledge of spark
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