Wir nehmen die Rechte an Inhalten ernst. Wenn Sie vermuten, dass dies Ihr Inhalt ist, beanspruchen Sie ihn hier.
Verfügbare Formate
Als PDF herunterladen oder online auf Scribd lesen
F| Asigoment 3
chtnl > 7
_—-shead > ctille > Qperaliny Ile»
body >
fecahon = asm AL hp” veh gd “>
clabd > alec quaker L_llabel>
cing Kyge. =" ted” arn :. aoa —
claboel > Enter qumber 2 < | abel > 7 a2
cingd tye =" tert” game = nd"> _
| cbe> ebro ae
Mod _cingd tye =" tadio” name = “ch” value= "1
Rouser cinpst type = “tadio” name = “ch” valve = “2”
ebro
Sum _< inpt tye = “radio” game: “ch” value= "3" >
ebe>
EE adtosial cing “ype =" radio” name = “ch”
| ebe>
cing tye + "submit “>
ebe>
el boay>
elhteol >
<2 phe ar
teh = $.cet Col’ J
fondiion mod 0)
f rd
ale seer aj
gb- $.GeI' 2] ‘
echo" cbt> Ned of $9 and 4b is "-(dq ‘4 $b)
i J) a
_Lvniion gover ()
cdi
ee et 7,
_M- 45 GET C' 92 J
|____ echo” cbr> four of $a aited to tb is". ($a**Sb):
3
| fundien sual)
{ ses
H da = $6 [int
Sum = ($o*(fors)) Ir -
echo “cbr > Sum of fit Sa ouenbers is” -($sum)
|
fundion factorial ()
£
dbs $.GET('n2 J
Sfad = |
foc(4i= $b; fi >o- $i--)
{_ Sd *2 43
4 .
echo Fadocol_@ of $b is” Sfad
i
saileh(ch)
f
case \ + trea () 7
bred =
case 2: power () 3 2
Dbreake
cae 3+ Svea) era
break: : F
cack: fadocal() 1
pa taba A bap gd pene ease ye
ee Yyeeale:\
cheod> ctile> Shaw ¢
Se Shiny Options — clhead>
|__cforen action = " sete chp” mod = "ga ">
clibd> Eider a _ehiog
chro ebro
|| cing type = “tao” name 2 ch” Ndve + 1" God lengh of ding ebro
cingit_fyge + “tadio” nee = “ch” velue = "2" > Cont number of vous be
|| cing type. = “fadio” acne = “ch” value = "3" > Convert ding be >
cing type =" fadio” name = ch” > Pad ting cbr >
ing Aye = “tedio” name = "ch” Twin dling
Sibedishpe! 2 elie wqdoet bd Au ile NG? Di Revate: lata chia
cing type = “submal” yalue = "Saber ">
| cMfeten >
| elbody »
elhtel>
Count of Ais Suet
echo" che > Court of E js Seed,
echo” cbe> Cort of Tis Sicet”
echo “ Cunt of_o is Socal”
gere " cbe> Court of U is Sued” lak ita
Gocthian [item Et
_ Sa 7
a dacs ¢.0eT Cate k= aah
—H Gloucecage = SAetoloweeGargy- es
[Silecage + vesords (Sloercre) :
echo ber Mover
do” ebe> Fitlecase 5a —— —
——teion tail)
face $.ctU at 7: -
Ngadded ching = shegad (4ae 10 '*', [Link]-GOT) ;
eho” 2... Spadded ating) ” 7
Sundion _ste.tran()
£
Sates ¢ Get ded
Sees = Uri (date):
echo" ber Gres":
fandion [Link]()
lL £ a
[ fates § ETAT
— _fres = seu ($30) ;
| eho cbe> -+- bates”
i
sal (Sh) Ss
cae 1: Secleaghn() ; cae Fs detevessel) :
Mwah i estes dot cod od totes
2: vowd() default: edno" Touslid” |
yu bea bret
Nee ee TEESE linEEET SunnEEEEEIEINanE
wu 3 tecooe Fey
Toedk 5 blared
case 4: Skepad); Oe a ee a
eth
5: steAjenl\,
rh boreal;= are a
Assigomet 3 + Cet BI 7
chien > es
chead> ctille > fosn Gr 2 dttings dhead >
boty s Z a
a
clobel> Eeler tse strings aan
ebro cbr =o
a Eoler thing 1: cingt tye = “tert” name + “sl”>
fo
Eater sting 2: cing (ype = “dete game = "52 "5 ian
oe > cbr > im
cinget yee =” submil” values” Submit "> on
_¢[fote > = is 7
$.GETE's2° 1
€-(oelen (geht) > strlen mm
Mees = Tare Sdn):
€C Leese
_echo a Gtring_is_groect_ot sailing cbe> ” :
echo ebro Firs occonuve of See2_ in Sstel_ _is
“bbe. Stes:
iL echo "che > Lyf occottence of $ste2 in Sel is
| echo “des Total occurences of S$Ae2 in Geel are
| feces stincasecmnp (Gail dik
if (Ser =:
"shepos (Sate\_ fea)
“whi ontlh
Satel_ Sitea Tie
tre "ebro fiat is sealer";
else f(s
echo “ches fied is lager”
it (Sees <0)
Ss >0)
,
Carlen (tele) <_ len ($ite2))
ase if
f
$res
2 _shpos (Gael $st2):
E (Gees == 0)
echo" cbr> At darting ”:
" drpos (4te2_Sér\)-_
echo "cher First occomence of Sarl in Site2 is
| coho " Lait occurrence of $ael_in $ar2 is“ dtegos (gde2 gael)
edho "cbr > Taal occurences of Sarl in $42 is "-sebale cunt (tir? $4)
$res_ = Steoeaseemne ( §stel 4da)_5)-
| iF (tes 220)
echo " cbr> Equal”;
else if (Sees <0)
dno” Fic is snaller_”;
else if (deer 20)
echo" ebrs Fied it lager";Asignmed 3: Se Cl
ii at
re Giles Subject Nak: —
— 7
chown adion = sefcl-ghe method = get '> Tete
cbr> i ———
Fxler name = _ cbr> see 7
Endler call_no.: “text” nace = tno >
ebr> cbt - ee
Eder goarks of S subjeds : cing types” teat” are s “marks >
ebe> cbr 7
cingt jes “subml value =” Ssbret ">
les» ;
elbtesl>
< che
fom = $.GeTC'n' J;
Sino = $-GET Eine J: =
Smacks = $.GET['marts'] -
$m _= explode (", Smacks) -
edhe“ cbt> Name," . dom." ebe> Roll quater: ”. Sino
echo clable border =10 align: center >
cte>
cl clyan=5S> Scbjed Make «Hh >
cle
the Sobed A clths
cth> Subjed 2
cth> Subject 3
cth> Subd & clth>
ath> Subd S elthsee
; —
clte>
ctr align = cecke > ta
cld> dnCo}
ctd> Gm Cd eltd,
4m (2 cltd>
| ctd> Sm( 3) <[td>
| elds de C4J ¢ fits
| ltr
éltable >” -
Molal_ = SmCo3 + SmO3 + $m(23 + tm(33 + dm(ig-
Spere : CStetal [s)-
echo" Tefal =". Motel ; -
echo " cbt> Rercenlaga =". Spere =Assigomedt 3: Set BL
__| skal >
| chead> ctille> Separor
{|_sloody > 7 ea
__-cform _adtion =” stl? phe enelbod gd > mde
Tepito ching cing tyes “eet” wie ane, = St
sti caer
Loren _¢ lille >< [head >
clit Choose alton = sleet ame =" ch” ids “eh
a ts Sepaator ception vale = > tH logan,
“/. clegline,
| eluledt .
\Feten, aL
__ciehe
Sic: $.ceTU'seT;
$ch= $.GETU ch'J-
echo Selitting the hing according te segatator "$eh -
Sse ating = exglode( Sch Str)
geste (Ssplif acing),
edno “cbt > Regacing ‘he seatster -
Sneade : steteglace (Sch "_" te dapiitiyg)
us Sste
ecno cbt upddled ating” Snewdr -
cone cbr> lat vod uv: eens
S\at_= exif Sele fc $ae)) -
++ echo "laf ord is: "Sli;
rT