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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 .
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply