module 5 (c programming)
module 5 (c programming)
anl
hointy oye deelyed
hointiy. tlouo the
+lou thu
iniliali rd'? Explaiy ucty a duilab
anol
Ecamle. Goriable thot oytaiys the
a aLl able
adolres
Peintey oslayalioy and mtialiyaiy.
Pointe ouclaliyi
ponte.
Syntax;
-
hoyPfnwm '
# imuole <tolieh
kmtny,* prum;
3
Sniteaigahay i
focs sgning y aaoles to he inly
Examye: ta 103
ant Pi
P:4a;
int a =S*P;
P=4a'
Printtl a7. dna);
Print t(c4 a /d|n', 4a);
Pintdl p / dln"P);
farmtt ('"4p =Vdln"4 p)
Itt)
)3
Sum Sumt*(a +
Paint ('Sem7+In', Ren)
Sum n
man)* ('(I+)-ma);
3g Suny("(*+4) -
Salable Sy/n;
vancabl))
devtat 4y 84rt( =y. t{n",mean);
Pintt("uau(ahyage ance)3
/ tIn", 19at d ialon)
Printt(" barance olaloy y. f\n
+C"SA aydoyd
Palnt
Ihe
g9
mian (Aae)
|399 -836t 99
Skandayd dwtaliy
3. Dfinc a
e ayd ig.taliyi styuetuye wantabe
Ex plaiM uity sidable. caamle.
a
Stguztge dulyatoyi
fotloocd by a skyctye
SLquct
Synta 2
Stuct- student
tstuet atyutye nanye
9ol tbye Gay- naye; chosy naye L20];
kong
d'nt poB
(294
name [2],
c o e[2o];
reRalul'BCA'. 13oouf
styutes to cte and
qead uystucyts
G), Smlment
auase-mayis ayd e
Comyte ayd beloo the cyaye orts
aboe
6himq clas N AEdnts
mami [io]
MI,mM2, 3
Kloat
flent (3)
ínt n, ,
7lont tavg , Sum 0-0;
PainttEnt the nwmb) stuclimt =la"))
Sa1t("/di n);
s)yc)
S.
stoage meruoy
Chayacte<al ey -
(heynames
Peint t (" Endyche numby aluc nts :")3
Scant( "/d', 4 n))
ames: (Chey )atlbr (nt eycchoy"));
Ace)
Paintt (" nemoy allocalylal led !1n"))
3
oulkut?
Enly tte numby o Aluclent: 3
n an
Preetham,
nane Chitya
nou lu ou nt 3: Suthitya
Name the sludnti.
PlLetham
Chilya
Suchitra.