Question: write it in C++ language and we will use test operation such as delete search templete function Lab 12 Assignment: Overloading and Templates Implement given
write it in C++ language and we will use test operation such as delete search templete function
Lab 12 Assignment: Overloading and Templates Implement given classes. Then, you are expected to create two template functions. The first template function should increase its price by 20% for the computer or tv object to be given. The second template function will find the one with the lowest price in the array of tv or computer you have and print its properties. In the second stage, include the list class, which we examined in the lab manual. Be sure to perform the necessary overloading and overriding operations. You can edit the list of classes according to your needs. Create a new unordered tv and computer array using this list class. Add at least 3 tv and 3 computers to the relevant arrays using the information you get from the user. Test operations such as delete, search, and your template functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
