1.如何用pascal编写一个万年历啊?希望大家帮个忙,易语言万源码易语言日急用啊!年历token 源码
如何用pascal编写一个万年历啊?希望大家帮个忙,易语言万源码易语言日怎样嵌入选股源码急用啊!年历activiti简单项目源码
PROGRAM n;
TYPE
a=1..;
b=1..;
c=..;
VAR
year:a;
month:b;
day:c;
days,易语言万源码易语言日万象网管 源码num:integer;
BEGIN
writeln('please input year month day');
read(year,month,day);
IF month=1
THEN days:day
ELSE IF month=2
THEN days:=+day
ELSE BEGIN
CASE month OF
3 :num:=1;
4,5 :num:=2;
6,7 :num:=3;
8 :num:=4;
9, :num:=5;
,:num:=6;
END;
IF ((year MOD 4=0) AND (year MOD <>0)) OR (year MOD =0)
THEN days:=*(month-1)+num+day-1
ELSE days:=*(month-1)+num+day-2
END;
writeln(days,year,month,day);
END.
2024-11-15 06:35
2024-11-15 05:53
2024-11-15 05:05
2024-11-15 04:59
2024-11-15 04:43
2024-11-15 04:41
2024-11-15 04:23
2024-11-15 04:15