当前位置:网站首页>C language: find the palindrome number whose 100-999 is a multiple of 7
C language: find the palindrome number whose 100-999 is a multiple of 7
2022-07-04 12:35:00 【Nianchi ichthyology programming】
#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;
}
边栏推荐
- Openssl3.0 learning 20 provider KDF
- CSDN documentation specification
- C language compilation process
- Servlet learning notes
- Snowflake won the 2021 annual database
- Iterm tab switching order
- ASP. Net razor – introduction to VB loops and arrays
- Reptile learning 3 (winter vacation learning)
- nn. Exploration and experiment of batchnorm2d principle
- VBA, JSON interpretation, table structure -json string conversion
猜你喜欢
Flet教程之 02 ElevatedButton高级功能(教程含源码)(教程含源码)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 17
JD home programmers delete databases and run away. Talk about binlog, the killer of MySQL data backup
2021 annual summary - it seems that I have done everything except studying hard
Force buckle 142 Circular linked list II
vim 出现 Another program may be editing the same file. If this is the case 的解决方法
Review of week 278 of leetcode II
Error: Failed to download metadata for repo ‘AppStream‘: Cannot download repomd. XML solution
[notes] in depth explanation of assets, resources and assetbundles
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24
随机推荐
Entitas learning [iv] other common knowledge points
C language compilation process
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15
Leetcode: 408 sliding window median
Translation D29 (with AC code POJ 27:mode of sequence)
Realize cross tenant Vnet connection through azure virtual Wan
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
Iframe to only show a certain part of the page
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14
Introduction of network security research direction of Shanghai Jiaotong University
Source code analysis of the implementation mechanism of multisets in guava class library
Lecture 9
2020 Summary - Magic year, magic me
Kivy教程之 08 倒计时App实现timer调用(教程含源码)
Global and Chinese markets for soluble suture 2022-2028: Research Report on technology, participants, trends, market size and share
Entity framework calls Max on null on records - Entity Framework calling Max on null on records
Single spa, Qiankun, Friday access practice
PKCs 5: password based cryptography specification version 2.1 Chinese Translation
What if the chat record is gone? How to restore wechat chat records on Apple Mobile
Awk getting started to proficient series - awk quick start