?p???s?%20??? - PowerPoint PPT Presentation

About This Presentation
Title:

?p???s?%20???

Description:

pairnei ton mina toy xronoy kai ypologizei kai epistrefei tis meres pou ... orirmos statherwn gia meres mexri to telos enos mina apo ton ian*/ #define JAN_DAYS 31 ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 6
Provided by: yiannakis
Category:
Tags: mina

less

Transcript and Presenter's Notes

Title: ?p???s?%20???


1
?p???s? ???ß??µat?? µe ??????
  • ?ed?µe??? t?? µe?a, µ??a ?a? ????? se a???µ?t???
    µ??f?, ?p?????ste ?a? t?p?ste t? ???µa t?? µ??a,
    t?? µe?a t?? µ??a, t?? ?????, ?a? t?? µe?a t??
    ??????. ?? ??a 15 3 1987, ? e??d?? p?epe? ?a
    e??a? 15 Martiou 1987 Mera 74. ?a? ta ded?µe?a
    e??a? ??a d?se?t? ?????, ?p?? 15 3 2000, t?te ?
    e??d?? ?a e??a? 15 Martiou 2000 Mera 75.

2
?p???s? ???ß??µat?? µe ??????
p??ß??µa
?p?????sµ?? µe?a? ??????
??aßase µe?a,µ??a,?????
??p?se, µe?a, ???µa µ??a, ????? ?a? µe?a ??????
?e?e? p??????µe??? µ????
??e???? ??a d?se?t? ?????
3
/ ypologismos meras xronoy / mera_xronoy
meres_pou_perasan(minas) mera_mina if
(disektos_xronos(year) minasgt2) mera_xronoy
mera_xronoy 1
4
/ pairnei ton mina toy xronoy kai ypologizei kai
epistrefei tis meres pou perasan stoys
proigoumenous mines / int meres_pou_perasan(int
minas) int meres / meres proigoumenwv
minwn/ / 1 0, 2 31, 3 59, 4 90 ktl
/ switch(month) case 1 meres
0 break case 2 meres
JAN_DAYS break case3 meres
JAN_2_FEB_DAYS break . case
12 meres JAN_2_NOV_DAYS return meres
5
/ orirmos statherwn gia meres mexri to telos
enos mina apo ton ian/ define
JAN_DAYS 31 define JAN_2_FEB_DAYS JAN_DAYS28
define JAN_2_MAR_DAYS JAN_2_FEB_DAYS31 define
JAN_2_APR_DAYS JAN_2_MAR_DAYS30 define
JAN_2_MAY_DAYS JAN_2_APR_DAYS31 define
JAN_2_JUN_DAYS JAN_2_MAY_DAYS30 define
JAN_2_JUL_DAYS JAN_2_JUN_DAYS31 define
JAN_2_AUG_DAYS JAN_2_JUL_DAYS31 define
JAN_2_SEP_DAYS JAN_2_AUG_DAYS30 define
JAN_2_OCT_DAYS JAN_2_SEP_DAYS31 define
JAN_2_NOV_DAYS JAN_2_OCT_DAYS30
Write a Comment
User Comments (0)
About PowerShow.com