//Use template to find total of an array #include #include using namespace std; template T findTotal(T a[],int count) { T total=0; for(int i=0;i