C++
Write the code to implement a complete binary heap using an
array ( Not a vector ). Code for Max heap.
Implement: AddElement, GetMax, HeapSort, ShuffleUp, ShuffleDown,
etc
Set array size to 31 possible integers.
Add 15 elements 1,3,27,22,18,4,11,26,42,19,6,2,15,16,13
Have a default constructor that initializes the array to
zeros..
The data in the heap will be double datatype.
PART 2
Convert to the program to a template, test with integers, double
and char
please provide screenshots thank you so...