Given this problem:
There are several cards arranged in a row, and each card has an associated number of points The points are given in the integer array car