Professional Documents
Culture Documents
Oop 2
Oop 2
Add: Ad (A AA Lp)
id Pdd dipla,S
Loe2
void display
cout ee "Name <neme zeend
(pu ee "Age: ageszeendl ,
3
int mainl)
player p(57:
fnr int i: 0 i<S,i+)
pl.input)
fr CInt i-0 i5 i )
pl.duplay)3
Tem O
Teachers Signature..
193E 0D86
ARouh Maapstaa Pssk
ate
As 24)
#indude siosteam.h
VSing nameRpate std,
cdas Nombex
i
pudic
NomeexCinta, int b):6 xla), y{b)
3
omberopexahy t(Nombex n)
t VUmbex temp(O,0);
Xt n
Temp. x
tump y4An-y-
yehm_fempj
3
lint main()&
Numbex n1(5,4))
Numoer n2. (7, 3
Nvmbex n3 0,0)
n3 n1.opexaoy +(n2)
Coutex= "4n2:xee" n2.y<m
Couk : "«nan u"en3.y eend
etm 0,