Question
Task B Extend the application of Task A by adding the possibility to reverse the order of the first k elements in the queue. In
Task B
Extend the application of Task A by adding the possibility to reverse the order of the first k elements in the queue. In this case, the user should be able to input the value of k. using Console Application For instance, if the queue is: John, Marcus, Marc, Lois, Omar, Peng and the user inserts k =3, then after applying the reverse the queue becomes Marc, Marcus, John, Lois, Omar, Peng
Task C
Create an application to manage a LinkedList of books. The application (with a GUI) should be capable of adding a book, removing a book, displaying the list of books, and sorting the list of books by ISBN. Do not use the built-in linkedlist from C# but implements the LinkedList and the required methods following the lab exercises. Hints: You can create a Book class that stores the Title, the Author and the ISBN of the book (the ISBN is a string). Use the generic LinkedList to define a LinkedList of books. Display can be via a single textbox but you may also consider to use listbox or similar. Please post code of Task B and Task C separately.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started