Page 1 of 1

1. Write a member method called plus3() to the LinkList class. the method will add 3 to each data item in the list.

Posted: Mon May 02, 2022 12:49 pm
by answerhappygod
1. Write a
member method called plus3() to the LinkList class. the method will
add 3 to each data item in the list.
2. Write a
method called deleteEven(), the method shall delete all Even
numbers from a linked list.
- void duplicate(): this method will duplicate elements
of the list
L1: first -> 5-> 8-> 10
L1.duplicate();
L1: first -> 5-> 8->
10 -> 5-> 8->
10
3. in the
main program, declare a linked list, read N values, store values in
the list, call plus3() , duplicate() and deleteEven()
#data structure languge pls .