#include <iostream>
using namespace std;

int main()
{
    double num_one, num_two, num_three, num_four, num_five, num_six, num_seven, num_eight, sum, product, average;
    char ans;


     cout << "Please enter eight numbers: "<< end; 
        cin >> num_one >> num_two >> num_three >> num_four>> num_five >> num_six >> num_seven >> num_eight;


        cout << "The sum of the numbers is: " << endl;
        sum =num_one + num_two + num_three + num_four + num_five+ num_six + num_seven + num_eight;
        cout << sum << end1;

        cout << "The product of the numbers is: " << endl;
        product = num_one * num_two * num_three * num_four * num_five * num_six * num_seven * num_eight;
        cout << product << endl;

        cout << "The average of the numbers is: " << endl;
        average = (num_one + num_two + num_three + num_four + num_five + num_six + num_seven + num_eight)/8;
        cout << average << end1;

return 0
}

Edited 3 Years Ago by pritaeas: Fixed formatting

The question is..Find them..
Got one, nah two, annnnd...another one!..
Here u go..

1. double num_one, ...;
2. char ans;
3. average = (...)/8;
This question has already been answered. Start a new discussion instead.