Create a Class Product with attributes (Product Number, ProductName, Price) . Create Suitable methods to enter and display theProduct Data. Write a function to sort the elements of an array.The function should be a template to operate on any type ofdata(int, float, char*, product). Invoke the sort function forarrays with different data types from main() function . The Productshould be sorted based on Price. Use C++ Language.
Expert Answer
An answer will be send to you shortly. . . . .