Question: C++ Please create a class named Template and give it the features below highlighted. Write a quick main function to test it, and create some
C++
Please create a class named Template and give it the features below highlighted.
Write a quick main function to test it, and create some arrays and print out result (as detailed below)
good answer = quick thumbs up! thanks


Problem 5: Template. In this problem, you need to declare and implement a Template class FindMinMax Template class FindMinMax has: Private variable arr[6] (template type) Private findMin(), and findMax) function. findMin) function will return minimum value of array which contains 6 elements of any type (int, double, float, char) findMax0 function will return maximum value of array which contains6 elements of any type (int, double, float, char) Overloaded constructor to assign value into arr[6] Public display function is used to display min and max value of the array. // Declare and Implement Template class FindMinMax here. (Don't separate two files)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
