Added a third prompt to the array to get three totals