I have this problem with my visual studio 2015. The error occurs in the 15th line. Suddenly is says that I hadn't initialize the variable, I don't know how to initialize them.
// Average.cpp. : Defines the entry point for the console application.
#include "stdafx.h"
#include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main()
{
int number1, number2, number3;
double average;
cout << "Enter three integers and I will display the average" << endl;
cin >> number1, number2, number3;
average = (number1 + number2 + number3) / 3.0;
cout << "The average is" << average << endl;
return 0;
}