当前位置:网站首页>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;
}
边栏推荐
- The latest idea activation cracking tutorial, idea permanent activation code, the strongest in history
- . Does net 4 have a built-in JSON serializer / deserializer- Does . NET 4 have a built-in JSON serializer/deserializer?
- OSI seven layer reference model
- Review of week 278 of leetcode II
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 21
- IPv6 experiment
- 8.8.1-PointersOnC-20220214
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24
- Mongodb vs mysql, which is more efficient
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22
猜你喜欢
Realize cross tenant Vnet connection through azure virtual Wan
What if the chat record is gone? How to restore wechat chat records on Apple Mobile
Some summaries of the 21st postgraduate entrance examination 823 of network security major of Shanghai Jiaotong University and ideas on how to prepare for the 22nd postgraduate entrance examination pr
Summary of Shanghai Jiaotong University postgraduate entrance examination module firewall technology
Detailed explanation of classic process synchronization problems
ASP. Net razor – introduction to VB loops and arrays
Day01 preliminary packet capture
Enter the smart Park, and change begins here
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
nn. Exploration and experiment of batchnorm2d principle
随机推荐
First knowledge of spark - 7000 words +15 diagrams, and learn the basic knowledge of spark
Classification and application of AI chips
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14
Global and Chinese markets of NOx analyzers 2022-2028: Research Report on technology, participants, trends, market size and share
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12
Data transmission in the network
Complementary knowledge of auto encoder
Decrypt the advantages of low code and unlock efficient application development
[notes] in depth explanation of assets, resources and assetbundles
How to judge the advantages and disadvantages of low code products in the market?
Reptile learning 3 (winter vacation learning)
Fastlane 一键打包/发布APP - 使用记录及踩坑
Uva536 binary tree reconstruction tree recovery
Awk getting started to proficient series - awk quick start
Reptile learning 4 winter vacation series (3)
Entitas learning [iv] other common knowledge points
[Android reverse] function interception instance (③ refresh CPU cache | ④ process interception function | ⑤ return specific results)
priority_ queue
Entitas learning [3] multi context system
2021-10-20