DS Week 1 Output
DS Week 1 Output
|
Etes It to pestfosy peratiens en
wst 1.
Estes e to pesfosn operations en
List Q.
1.
You are perfosging opesatins og lst !
Estes yous choice.
**********************
Here is the menu af single tigked icst
opesatiens,
*********t* ********
Estes to Cseate a lst
Estes 2 to Insest at Begi)
Erstes 3 to 1nsest at Ed
Eytes 4 to Delete at Beginning.
IEsles s to Delete at Ending.
Ertes 6 to Psist/Dísplay tte Iist
Estes to meTe the 2 lists.
Ertes any oteet Values to exit
1
ith
wilh how many Valug you wost to
C% eatc a list. ? Page :
Ihe. líst is being cseted with 3valug
Etr6 the. value 1 :
tes the value 2 :
Etes the Value 3:
3
The (7ated list.is
Value =1 k Locate)i 3326
Value 2
LocatiOn = 33 34
Value =3 Localon = 3342
=> NoE.
Eotrs I to peofoor) opetien S on
List I
Entes
Enles
¥*
|
2to
to Cheatc.
h
a íst.
seot at Bcgtn
Lts 3 io Tnseot at Ed.
tes 4 to Dlete at
Bainnig.
Lnles éto Poinl/Display the. lisl
Btes t to mee. the. 2 ists
Lyter Any ohoo Value to cit
1
Kith h ny Vals you wat -to oeale
a ust.
he. list is beinq (ócald wity 4 Valug,
Ets the. value.
4
sler the Value 2
S Page :t
Etes the value 3
Egtes the Value y :
Tha Coeated u st is
Value =H Locatien'= 33 So
Value S * Locatien
=s = 33s8
Value =6 *.Locdion =3366.
Value =4 f Localien =3344
=)NOLL.
Entrs i to peoton
oprattens on
List, I
Erhs 2to
perfomny
printHey on
List 2.
1
you are profooming.potons
Wst 1. . en
Iroe: is th ar o. cirlr (ikud ist
qronling.
The.
Va lue
Value
Value
mzed
=4
=1
=2 .
ust
t
ís
Localion
t Localion
Location
:
=
= 4
= 3326
333
3342
3350
yalu =5 33, 8
Value =G Locatien= 3366
Value =A * Location ==334 4.
=} NOL Page-&