IN C++ Write a function template Worst to return the worst of 3objects of the same type, for a sensible meaning of worst that youneed to specify. State what types would need so your functiontemplate can be applied to them. Write a class Bike, with datafields you choose, with functionality such that the functiontemplate can be applied to three Bike objects. Write driver codeillustrating the use of Worst on three Bike objects.
没有找到相关结果