当前位置:网站首页>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;
}
边栏推荐
- nn. Exploration and experiment of batchnorm2d principle
- Practice of retro SOAP Protocol
- Cadence physical library lef file syntax learning [continuous update]
- How to use "bottom logic" to see the cards in the world?
- (August 9, 2021) example exercise of air quality index calculation (I)
- Globalsign's SSL certificate products
- Pat 1059 prime factors (25 points) prime table
- SAP ui5 date type sap ui. model. type. Analysis of the display format of date
- Interview question MySQL transaction (TCL) isolation (four characteristics)
- TCP fast retransmission sack mechanism
猜你喜欢

Experiment 7. IPv6

Process communication and thread explanation

Decrypt the advantages of low code and unlock efficient application development
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8](/img/16/33f5623625ba817e6e022b5cb7ff5d.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8

Star leap plan | new projects are continuously being recruited! MSR Asia MSR Redmond joint research program invites you to apply!

netstat
![Entitas learning [3] multi context system](/img/f9/a3ce86ff2121dd1043305b7e834cc5.jpg)
Entitas learning [3] multi context system

R语言--readr包读写数据
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 11](/img/6a/398d9cceecdd9d7c9c4613d8b5ca27.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 11

Reptile learning 3 (winter vacation learning)
随机推荐
Alibaba cloud server connection intranet operation
【数据聚类】第四章第一节3:DBSCAN性能分析、优缺点和参数选择方法
(August 9, 2021) example exercise of air quality index calculation (I)
Source code analysis of the implementation mechanism of multisets in guava class library
Reptile learning 4 winter vacation learning series (1)
Ternsort model integration summary
ASP. Net razor – introduction to VB loops and arrays
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
C语言:求字符串的长度
JD home programmers delete databases and run away. Talk about binlog, the killer of MySQL data backup
nn. Exploration and experiment of batchnorm2d principle
2018 meisai modeling summary +latex standard meisai template sharing
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
Netgear switch basic configuration command set
Decrypt the advantages of low code and unlock efficient application development
MySQL performance optimization index
Detailed explanation of classic process synchronization problems
Uva536 binary tree reconstruction tree recovery
Recommend a cool geospatial data visualization tool with low code