Write a menu driven program which creates an empty list and gives the following options to the user to perform various operations on a list:
(i) Append an element to the list
(ii) Input an element from the user and remove it from the list
(iii) Remove all elements from the list
(iv) Count the number of occurrences of an element in the list
(v) Sort the list
(vi) Reverse the list
(vii) Display the list
The program should terminate when the user chooses the option to exit.
Answers
Answered by
0
Answer:
an is an is tk if vvn ha cm ha GM KB GM ha GM ka cm ha GM g GM ka GM kal kal KB do ha an TV in GM
Explanation:
GM KB GM KB cm ka GM KB tk of DM if an is DM if all is DM yes DM if all is GM KB cm is an ha FB LCL kal us do ha cm is DM ka DM has l GM hc DM if an ha cm ha cm
Similar questions