当前位置:网站首页>Look for leap years and see how many leap years I have had since I was born (I have had five)
Look for leap years and see how many leap years I have had since I was born (I have had five)
2022-06-11 21:43:00 【The chick is speechless】
#include<stdio.h>
int main()
{
int year;
int count=0;
printf(" Enter your year of birth :");
scanf("%d",&year);
for(year;year<=2022;year++)
{
if(year%4==0&&year%100!=0||year%400==0)
{
printf("%d\n",year);
count++;
}
}
printf("count=%d\n",count);
return 0;
}You can try !!
边栏推荐
- A problem of setting the private library of golang
- JVM|类加载器;双亲委派机制
- Building a custom CNN model: identifying covid-19
- 实现 TabLayout 下标与文字等长,选中字体大小改变
- RPA+低代码为何是加速财务数字化转型之利器?
- 【历史上的今天】6 月 11 日:蒙特卡罗方法的共同发明者出生;谷歌推出 Google 地球;谷歌收购 Waze
- 领先企业推进智慧财务的同款效率工具,赶快了解一下?
- 2021-09-11 训练场补题
- How to manually send events exposed by SAP commerce cloud mock application using SAP kyma console
- Leetcode-129- sum of numbers from root node to leaf node
猜你喜欢

LeetCode-76-最小覆盖子串

Jenkins+allure integrated report construction

Introduction à endnotex9 et instructions pour les tutoriels de base

The same efficiency tool for leading enterprises to promote smart finance. Let's have a quick look?

Syntax of SQL

LeetCode-110-平衡二叉树

Why is rpa+ low code a powerful tool to accelerate the digital transformation of finance?

How does the chief financial officer of RPA find the "super entrance" of digital transformation?

2021牛客多校5 Double Strings

Leetcode-129- sum of numbers from root node to leaf node
随机推荐
JVM | runtime data area; Program counter (PC register);
How to import workflows provided on SAP API hub to sap BTP
[Part 14] source code analysis and application details of completionservice class [key]
zypper命令使用示例
Some error reporting assemblies of cann code
[v2.1] automatic update system based on motion step API (repair bug, increase completion display, support disconnection reconnection and data compensation)
Codeforces Round #742 (Div. 2) F. One-Four Overload
RPA super automation | nongnongji and cloud expansion accelerate financial intelligent operation
Bipartite King
Educational codeforces round 111 (rated for Div. 2) C Supplement
BZOJ3189 : [Coci2011] Slika
线性表的链式存储结构
Iros 2021 | new idea of laser vision fusion? Lidar intensity diagram +vpr
As a senior abap consultant, which SAP technology can be selected as the main direction in the next step?
即将首发 | 业界首个零售数字化创新白皮书,解锁全链路数字化致胜秘籍
Database daily question --- day 9: salesperson
字符串复制函数
多态的所有特征
bzoj3188 Upit
JVM|运行时数据区;程序计数器(PC寄存器);