NORTH SOUTH UNIVERSITY
Department Of Computer
Science and Engineering
Assignment No: 02
Course Name :
Faculty Name :
Submitted By :
1DNO
Section
CSE115
HSM
MD.MEHED! HOSSEN JONY KHAN
: 2212187042
: 9MD.MEHED] Hoss-en gony KHAN
7 2212187042. agers
Awto the Q.Nor 4
ee eee te
H Snalde £84dio, hy
A snoludr Z moth h>
3n\ moin()
flood x. result
print ("Enter value oh xt "D5
seom} (¥ 5”, 5
results way (pout) 4 pata) MAN 12)>
prtakh ("75 “res wlt)5
teeluten O ;
3‘ N
MD.MEHEDI Hoss JONY KHA
2QUAAR7O4D a
Arebothe Q.nor td —
| Hinclude Zs4dio.Wy
H dnclude < moth Wy
ind main ()
|
| on) Seconds min -houre, see ‘
| préml | ("Enter our seconds here 2
| seom4 an vy Seconds);
hourc= ( Seconds (3600) 5
min 2 (Seconds - houn® 200/605
| see = ( Seconds - hourex 3600 - wernt GO) 5 >
prind F Cc “Ld seconds 2 “/,d hours “fod mint a
Seconds. hour ymin »62e Y
relunn 0 5
3Mb-MEHEDT Hosen gony KHANY
2212\87 049 ee
(IE
Prost otheO . Noa
A Indudedshdio.hd
Jon} main (
chan le Yer s
preinls ("Enter om Enalish lethen + y
seomf (47,0, & letter) 5
iL eben p25 db letter £9.09.
iF (Neier >="A' KY leHen<'2’)
preimt J (" a lether + WD)
: aie
else FC lebheve dah Ky leben X )
print (ULC letter 44),
olse \S ( \elhen i 2
print (“%e - K)>
olee J ( leer == =,
pants UG", * 7)MD-MENEDI Hossen gony KRA
2212187049
TS Poge-04
e\se
print} re \eHer);
metunn Oo;
jMD. MEHEDT HosseN JONY KHAD
2212187042
Ansto Yo Q.NO: 4
| Arteta Q.NO4
# Sncludezedions
pee
| om} main ()
ant abies tempi dampel ,
printf ("Enter Value of a; ”) ;
seen$ ("% 4”, 0)
prent) C Enter Value. hd oe
somf 1” & ¥),
Print} ("Emden Value of e:” ;
scam} (“a " gy);
Pratt (" Value before sioopping »)
Print ("gong gm besa Wn te ary wee);
temp = bs
bea:
ancy
oe . ic orders ”
prin (“\n After, Swapping an & elie orders );Mp. MEHEDI Hossew gony KH?
2212182042.
louse FF Poge~ 06
| print (“Mas %dynb= “d\n Ne be);
teeta Os
Aw. ts He Q.NoG
# include < sidio.ls
ant modn()
ce oe 5
prt f CU Enter % Noomlenst=N D5
seond ("“pd%edhay ’X~ kL BEDS
vy (ad= b yy aQ=C)
3 ( bP=ED
en} nurmbeds.b)}
\ print (ON ad is the and \a
5 .
alse. { print $(“n%h a is Ve dnd langertmanbnds €MD.MEMEDS WOSsEN JONY
KHAN
QINNBIO4L
4 Pye -OF +
eke iS (b>= a bi b>=e)
if (o >e0) \
printf (“Xn%ed ds He Ind Vanggatnenbertn’ a)
3
e\ oe §
print ("No cL
3
\ .
else if (a7= b)
dis We 2nd \angpet number ¢)5
aot rusaberdn’2)3
YE (Nw 35 A\s ana lang 4 an 7 5
{ pres
else \
prong (vl a>
5
radar 0;
2
pean’ larger mumbe nw 9}