You are on page 1of 9

- J.1Ji.:u-----!.----U:):'dt-e. o..

:fa'l05 cTipt- for loop \hot- '-Q ilt ,rnOte-


o to l 6:" • far t'O &) ; K'"'l'O ti o n , ;r c.u i 11 Lhf 0<. i ~---
e.. c..,u'"r'Ctn't" num 'oPr is odd OT ev en , a <id
disp.1a:J a ro ~~ro3 e.. to -tt1e, sc-ree.n .
OhS:
c::. btrnl ?
~ h e.._a d 2
<" m e.t-o C.ho--rse \: ~ ubF-
- 8 />
~tle? fu-r \oop +nor c.0111 \\-{""r(Jt-e. 0-orn otol5L/6tte·
~/he.od;>
1L body;>
LS cnp. t-_?
fuy- Cv.o-r x -= oj ~ ~ - V5" ,; x, ~ 1;)
1
ii:' Cx-. =o)
i
c.on9ol ~- 1~ ( 'i<. -t- is even j j
0

itse
t
;j'. ( ,:_ ·t • 2. == "'O)
LJ) ()Sb l ~ · lOC\ ( ')(, + \J is e'-ten ·~.
j __J /

ru-e._
(
t.Qr-lS Ole · \~ ( ,c. + .., is o ol d '1 .
....,..__.___,j )

_ _L= t'f'V'r7

~>
~........,..UJ:-in fu.n.cru:'~_cl.Xf~n.QS-fl.U
j a~ a sc-n pt:_. ~5 . o.f- -~-l:..us.ieJ.1...1..f,._-LJa........c
s · n_g t Number / fttr~ , !fm_ UJo4~~
]J _J'\') 0 tn
'ihe. :nvoS'C'npt rnatn ot*etr_JU\
to p-e-rto-rm mo the. motl U)'
toS1<S oo!~a.!.I.LI
mo t'h ha s p-ro rr1"1i e~ \I)< e. s U' R Tz ' f....&....c.~-,-..L.ICU..-...1
LN I O 1 \.0 ui Q.e- , LOCniO E.
~ht-ml>
Lheod;>
L. \j H~>:Jo.YOScen,,r f'()Qth O bjE>Cr f>rope-rtie~ ~fj_w..s;,,.,r__i
<::../ he.06 7
~ I t)oelt.J ::>
~ .sc-0p+. ~pe - \l -\i:Yt- /Javosc·n pr ''.>
\/Cl~ VOl.U e.1. cc- fll(l rh• e- )
cl au.., rn en\-• u.:>--n ~ ( ~ E- Va IJ-1 e. iS ~ '' -t YC\..Ltt~~ ± u Lbr> •~
\1()-r votu-t°?> = rY){I th • l.t'I 10;
dOU!.fllE'fi\-, l.(l'D\--<' (uLNIO WltJJ€. \:.S~ '1 t- -v'°-U-e....~1-......:~
11

'ro--r Yo.Lu t l\ -- ,-no, h . es..·


• I )
.cl 00--\ m-e,,t" · u.r,~~ \ ~t".::t \'Ollie.
L Is c--/)pt-.>
L I bo ct.,1-(>
..:::../htm\')

· output-: -
E vo...Lu e. is : 2 ,., 1gzg.182.8 tts9 oc41a
LN10 vo.1Ue.. l ~: 1-2>0'1.~86 cq2q9t,ol{~
f:t_ vl\.LM.~ l~ ~ 3•\ ~\59. 2 "5358 C\,<l_3
•. ! • ,. ~ , .

..,..,...._ _~11;1:'.A.J..--l'.IUl.5 l'VU O-O"f' ttl t<es 1'lD ...o..:I:s,µLUJLS:.U~


.. . ~ fl .....

------.:....;__-4.J~L..:o.bfecrs allows you ro ~e.t-


__._--:.__-+-1....11:0"" , month , do y , V> oo-r, m'4 () u t{. ---S-t'~L..LA,'-
1
- - - - ~m..uH~ etot1d -A~ d ~ .
- - - -· O_ate. "not. vo-n ous n; emods lil<~ OQtfD -t--.......i
901:> a\-€. C) , 3t.H)a_y {) 1 (_) ~ t\.i 11 ll ~ t 1 , 13'1:.A-L-il.UL~
jet:-M\f'lutts t,,
~tt- Se:ond.s 0 1 etc•
~trhtt~ Vo-. VC1'l")Qble.-ncime. "" n en; Oot-e_{')j
~j~ VO.'Y' ~ t - - d Cl t(:.. "" T)€w Do tt l?;
~ Sron13
• S\"'n '2:J O'o j f'CJ"5 Qw u_q ~ 1 o L~ O"l'1< U)~ ~lm~-1
- n--
-!_tj-Otn'X:
e:j! VQ,Y-
\...Oo?t<s
vcw- V()~Oble-r)ame.
S F
wirh

l'){'.,u.J
C\

3\lnJ')~
r {)f.u.)

(~h)_f\1>;
Stn,
sc,-r'ies ~F tl,()'('(10f7S .
{smnglj
.
-:[',::- h OJ rnJ p~Y1i e..J
Ji ~«t l E'..fl 9tt:1, __--.,.._JJ__,_',1.-V->,-'-"""'"'"i
aod me..Jno<1.S l'1t<e... OiO"<"A+ (1, c..ho-n.cd e...Aci'l.j---j-...
inde-x.oF () 1 molt~ l ; e.te .
1
B~ u,mp®:e matt'L, ~mpr:c1,,
~ns.:
j) o\ertt')
\h'!.,. a\~~CJ dla\oj bo~ ~s iJSed ta:._,m ~
a rn e~n Se. -to. -t\1 e. 4.S tt l9f.n ~ ,.~ e.oo-rraf n~ s
o\'=- rni~ ~{'d oc.l:i of' .SJ . fu"f ~)(omp1e , if. ttie emot)
oddrfSs entt~ ~s t;Jro n9 , t,oc.., ~ n~e.. :\Yl~
o \orl, mes.sa<3Q- "'to LOO"' n t Y"I e... u S-t -i- a..bo~_t:__
i0e.v€.l.OpPrS aiso u~~ 01~·<1 dJ o t~
~ q rid d '~J <-IO~ ·h) d t. \) u 9 ' h {i,,... ~ pr1 ,· C!aHon ~
-th Q... c:1 t f 1-t-l ) 'fr) e. rh o<l C~ OtcS Ct fl -t.u.J pO p-:-1.1.p
L.off)d Cul$ (di e1 l~ 'bax) , u-'.''h i(.h <.,..Qn tC'! i nS The.__
\.ASe, m-c.ssoT Qnd <in OK bUh'On. Thi!:: i:s
C\ made\ lC.,1()doc1.., a,nd n\l ~x-twtioo Ss
~~pped '-1 nhl ¼\,-\t. us~r (JiU<.S t\,,it. OK_ bun:on

lh1 -rne... \"op-up bax.


// Loo-r1"1: n_g
a t-e'Yt- ( v :LY'!YaHcl ( moH ~dd"X'sr . f'I e_o_.Se..
i\1tCr C\'jl1i1"1 •~ '
/ I q,~t>u:)q in_g )
C'\ \ P'>'t" ( Cu.'"fYf0 r Lou n ~J j

r '('(') pr t )
--rn e... \~ m pr<') .rn trnod DS 1-<S tn ~ UJ er:____
fuf ~am e.. ~ma\ I i nf.}v t-- su c.h 'l-.\ a pctS.ru:> ~
1 LOmp1ilio11 Q~ Cl mm , Y'l'(JU\- rtYY' r~"fSO QQj __J_ _
:-om<no no Y") , <J 1..,\ c.h OS Y1 i c.K name.. ro:f" ti---tt~f----- - -
\°n t. ~n;pt.- diolO_j \Jax ?Qr>S u p w i th o s,irnplt,
t~l..:" Y.J<:>X. Af-n-y- C..Ut-r ~n\-t'r:S ttx t- ~n.m 't¥'t: r••
~ C\..lc3 Y.) ClX ' i'n V cull e_ ,s ~ "f ~1--lVL!~,&;W,661.wll

(9.l {L +h~ \:,).J f<Y" h , \:: (.o ""' ~~ ,


l.o n n·-rrn d; o l~ Js, . . ; u ; . ~ ~-
j,j,,.._ ____;_~--l---UJ f\ ~'"'f""n o w e-r'...9 a "1Sc..oe r +co
m "'e~ a r11.A. ., o 11-e.. ('\ -r..9 u -rnern::-..._--4:11Qs:._~s-,;
tr1e...1n o d
--------l-..l~.i..u eS"°'IOO j O lJ LO\\\ 0..$' I-< 1 t.-e_ LJ-S~ ,. fl ?-,1 I :fls:.'t'>or:)
- - - - +~o~ u.1; , , C\ pp e0 -r if\ -,h e. YJQ x LJJ itn .-.::.., ~ u..
OJ..-_ __

0~ b u \ t\.1n 0.11d C"\ c.once.\ v:2.,Llk:Y\Jf\. .


t (t\ v a &t -o SP e. -\:r1 ~.9 ~ n s \1 opy i ~ -'Ul..JJ:lor'.l~:::.....- - -
a (.)pt t CP ttion s just- ' o ~ fl o cj ~ tn~ o-rO.e'Y"'
a--("' Q,\ tl \e_. .S '()O'l"\~ .3;tt'~ j v~r- )o~'t('.
-------+-~~ t..l du~ ci ~\e .

......- - -H-· Ll LO n R 1"«) ( v f'rTe ~ o L' .S\..h-e. L\ ou U2 a n r--h> d , 1el<..


~ OU'"'r 'f->'ro-1\' \e. f>Y'lor,Cl?. ••) - = b1 I eJ ,Ati

.,._-+--~~rt-~ l " o e.\ en~ r t1 otQ . . .. ·j· ~ --~__,,;;..........


ua; tf.. l\ s ("r\ l} t= ro cYl11 n °J ~ bo tl«J!IDl.Lm':IU::.Jlb'I~
'1-e.H0~ ~ .si':5 on t.l, u,_, -tv ~1'\ t- •
£.... n t<'n \ ?
~he.od ?
L St"\.\ \e'>

-=ft-rt")~'Ol\/
1
W1d H-:1 : "2,.00f'X •
h e: . . , 9n :t· • :?)QD. pxj
• )

bo t.l-< :J".-o vnd - <.a\ o-r: wnt'iej


(.~ \ cy·y• : tO \,\ te.'
J )
L.. h.1> u--a ~ e,. bO t.f.'-~ .,,-o u 11d lD \ o. t.u ·, rlj o_ n ct 1'c~ 4i-
L \?-;, c..t i c..1<.. b u 1m -n to- en a. 11.5 e the...
a_ Yl (.Yo i c..K
bot k~•-l'u und V)lU""I~ L/ '().?
./ butro n 011 t,1 ic....K "" 0 mLl fun wio11 () ' > c,1 on me.... ,u<
L{ bu11'U'O)
:; -.i rn L\ D'.LV '';>
?- ci , Y i ct
L VJj_ > He\ to 6/'n1.7
L /d,{/7
~ s- <:.')') ,., t ;:-
-A., f1 <.n 00 my f"uv, (ho¥\ c')
t
o! ow m tn t · u-f:\ em Wf!..y Qi J (• "'1.l\ o1~ '') 1 t1/ t e. ·,, .
bo.u-<i--1t1L111d Lotm- - l..\tlloW + ~

~
LISrrri r 't'J
Lj boolt\ .>
Lf h't!f'I\?
..._-LU. a. onjeQ:.......Je!.SU:~
cl t__~
ob;eo.- H~nu
~ ~-.a'°' o b 1€ u- • f"\ one.
is a. 'is-i- of- ('){) f"!l~ t

c.i....:J~.n~\.?
~...L.!:e.~-°d-.1.t >
...__,_~L SC/n1'1r
....,._-lf',.I"'r - i i'd O
1
' VP - '2.2 ,, I Y.1ome..: L'Siddn; '3hoS:,Y.U:.._:=--.;.,i,
Sa ,o'>:1.f .· L~ - - -- ....

.......-&J~ill men\- •u.n-i \-e ( f"n e r · i cJ + v f. t'Y) fJ •l'"'\ 0 ~ - ~~WI


L ,.;rr-?
~-
L~/_bocJ.i;;,
lillll,.l!!i!::...l--h tm (;>
---::,J merh:od is c:.faH-h -rn_e. hap
-lt"t.Dn d
k4lt.0o-m LO e (.9'n c~-e., o. ob; e(h.

L.. hr('(") I>


<bo~;>
L.. --5' CT) p'r7

\/o,-- ~ rt")'? -- n e.~v Ob i e<.J-c3


e.mp• ld - u\/P '2.ri.;
-€ m p •Ylqme.. - IA g i dd h\ 61-1 osct te 1' ;
-ernp, g a \ ~ - Y)DOOO ,:
emp . trrnncJ,.,.-:: L'If 11 •
) y ,.
Ci. oc__u 'Y"Yl en r . l.}Jl'1-K_ Ctr<) \J · ;a + '1 + em p· r')o 11'"'~ + t-:-
..,,

1 e.m p. ~~ l ~ + " " --run? · bY'Gfi ch]


~ 1sV'()r't'::>
L/ 'o~~)7
Ljy,t{Y)\'7

t
I
I
f
Lh't<'nt>
~ boclt(>
LS (tri pr:;>
fu nc.r;cn sh.Jc\E'.()\t t,d, ..-y} '\'Y'\e I b-rq_n(h, do..aj
~
tr-.,s,id -= ~cl j
tl--11'.s l"\ 0'Yl') (' , r, a rn le )
ih,s •b--ro nth ..... b-,o nlh J .
~
'5-==- Y'")-eu.., .st-ud-Lnt- C"V?-'22.'', ~,ddni<3\-ios~e\'-1 IP-11 ~If-1il.<'
. 1 ,,
i Q LL.I Tll-e. nt • WY\\-€. t S i (3. ~ '-I 11 -\- s~ '() (\ rr7 e...-t-" ,, -\- -9 b•,ai., d
u T 3 • \:rro n r.h ~ v '' ~S · ~Jj
ti!-/..!) C,n p t-7

/ / .bCCU-\_?
L/ht-rn17"

You might also like