99小乘法以及1000-2000之间的闰年
2015-12-02 20:33
281 查看
//#include<stdio.h>
//#include<math.h>
//int main()
//{
//int i = 0;
//int j = 0;
//
//
//
// for (i = 1; i <= 9; i++)
// {
// for (j = 1; j <= i; j++)
// {
//
// printf("%d*%d=%2d ",i, j, i*j);
// }
// printf("\n");
// }
// system("pause");
// return;
//
//}
//
//#include<stdio.h>
//#include<math.h>
//int main()
//{
// int a = 0;
// int count = 0;
// for (a = 1000; a <= 2000; a++)
// {
// if ((a % 4 == 0) && (a % 100 != 0))
// {
//
// printf("%d\t", a);
// count++;
// }
// else if (a % 400 == 0)
// {
//
// printf("%d\t", a);
// count++;
// }
// }
// printf("count=%d", count);
// system("pause");
// //return;
//}
//#include<math.h>
//int main()
//{
//int i = 0;
//int j = 0;
//
//
//
// for (i = 1; i <= 9; i++)
// {
// for (j = 1; j <= i; j++)
// {
//
// printf("%d*%d=%2d ",i, j, i*j);
// }
// printf("\n");
// }
// system("pause");
// return;
//
//}
//
//#include<stdio.h>
//#include<math.h>
//int main()
//{
// int a = 0;
// int count = 0;
// for (a = 1000; a <= 2000; a++)
// {
// if ((a % 4 == 0) && (a % 100 != 0))
// {
//
// printf("%d\t", a);
// count++;
// }
// else if (a % 400 == 0)
// {
//
// printf("%d\t", a);
// count++;
// }
// }
// printf("count=%d", count);
// system("pause");
// //return;
//}
相关文章推荐
- PowerShell中判断闰年的方法
- Java判断是否为闰年的方法示例
- 判断是否是闰年
- Java输入你一年份,判断是闰年还是平年
- 一个简单的日期选择器
- oracle 判断是否为闰年
- hdoj 1076 An Easy Task(有关闰年)
- 求闰年
- C# 如何判断闰年代码
- 三天打鱼两天晒网
- 计算某年到某年之间相隔多少天(普通年有365天,润年有366天)
- 闰年判断方法
- C# 判断是不是闰年
- 网络131第3周实验——循环与判断语句
- 网络131第6周实验——Java基本语法
- 【实现】网络131第6周实验——Java基本语法(闰年、等级、Fibonacci数列、冒泡排序)
- 2013年3月算法练习(二) 闰年
- toj3251 Day of Week 附判断闰年的方法
- C#程序实现闰年的判断
- 判断距离1970年1月1日的天数