Professional Documents
Culture Documents
abc
S3 3
#incl de isstuenm)
usins mame
5fote 5tJ
int meir ()
int numbtx
Cin ) numbt
int last=o, amtron o
int a humhe x
Cohile number o )
last nom be Y, lo;
153
eS numbex asmAtxon9 numbes
DATE-
Psuctal-20 PAGE
wnchon.
AIM VWAP to imple ment fsiond
he
Con ept
THEAyFaiead tun cho n 8not membea
tun chion oce88
to thch if is iend, This funchon declaKed in 10
cleAR with Kegiexd iend T4 must bede fined
ovfsile he Cla whih t 3 iend
iend 0t he cla8
tunchon Con acess 0n me mhe
t memherclas di rectty
wth fiend It lon acCe3g
T has no Cqlev object
Code
inclede io 84eam)
usn ne meslace 8td3
class Box_
Private
int lengh,
Pblic
Box t
leng ino: }-
frend int Psintlength (Box )
lengh t lo
length J
DATE
AGE
int man of
box
Coul Lengh of box ik22 find leng h C6)
A n 0;
length of box lo
45