frognam
Correeko1l 2 nd lot
chonld
in nd e
main mehad,
qTeatest");
le
oplnl Not iviaib le
5) Aad ee ires an Sop ln
5);
ldin ible by Lbotn"),
Sopln Divigi ble by nthen)
6) Protram
lat ine iide Maln methud
Should be
ola
Braes
dbue ipe- ClossJcp)*oO
Sopln (" Loss Porcertougo
co uble +ppen
Sopln
Araus acbon)
S o p l n " No Protit ad Loss
Cudeve Discosnt
Sopln ( Suttekiveve Distnunt
iscot 20% and
for 3uceens ive
Singa fqinlet D:'s tput
e u r e t
=23o single
30>)o
Hence irst d's count is belten
Code
ouble dl=
douste d = (20+16- (( 204 10)/o;
double d 2 3 (dto0 Ap;
noln" 20o
30°o distount i better tor [Link]
Copln (" Qutceive disnut bellor tor sbmer
Sopln SanQ
p. S.v.n Cint n)
Caso l:
Sopln " Dayl: Suday :
breale
Sopln (" Day 2 Horday;
Cae 3
Sopln ( Day 3: Tuesday
break
Sopln Dayt: woaandoy;
bieadej
Sopl ( Day 5 hday
bsesde;
oree)
Sopln Dey7ahwdy
brele)
defult
Sopln l 1nvalid Choite. Pla ente
beeem 1o 7
e )
Sopln( Honth l Januauy
brek )
Case2.
Sopln t Honh 2
breek ) ysey.
No do it by
bogran Looicoy ole He mohod pst be
Coree hon Seond Dastine inside
Sopln C" Num ber
Jor h'on D do
or Cint i=l;i4- 20,in)
Sy stemout. prinf ln (Qu;
orite pSoplaC)
Q very h'mo Serhon
p.s
SocionE
Ci °/o 2 = 0)
System. out. print (i+
(i+
System, out. qrind
lo'ally ot, Je cond bost
he
r097cn
Nnben be
Seph
Jochn B
p.s.v.m Cint a, int by ind )
ouble S=
(a tbt) 2:0,
doul e Q= Hoath, sw(Cs -a) t (c-b) (a- )
doubl e
Sopln(" Équo ble oniargl e );
Sopln ( Not Eyuale
5) p.s .V.m Cint m) s
&A m2 -3)
1500
=(3t |500)+(Cm-3)t l200)
)2)
(m 6 a e m2=00)+((m-6)+ 100o)
3* 1500) +(3 *12
System. Eter a no botuen
Sopln
Sopln ('" fees +4);