Write a generic function in C++ to search an array (or vector) for a value supplied as a parameter. Let the function return the position found in the array on success, or (-1) on failure. Use sequential search (nothing fancy!). Compile and run your code; compare the result if you are using integers or oats with fractional values. Why is there a difference?