C++ Programming(no copy-pastes, please)
Write a generic class that receives a parameter T. The class must have as attributes two values that define a pair. The class must also have the following methods:- T getMax(): returns the highest value;- T getMin(): returns the smallest value;- T getSum(): returns the sum of the values.
Please comment all the code.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here