cout << "\n\nThe Mean of your Numbers are: " << userNumbers + userNumbers + userNumbers + userNumbers + userNumbers / 5;
I'm trying to calculate the mean of 5 numbers, but what the program does is a+b+c+d+e/f. Which is wrong, and it should go a+b+c+d+e=f and then f/g - like we all learned in school.
I've tried different ways but I always ending up getting numbers like "19247987264" ridiculously long numbers.
Here's the rest of the program: