#include using namespace std; int main(void) { int x,y,z; float w; cout << "Enter the first number: "; cin >> x; cout << " \nEnter the second number: "; cin >> y; cout << "\nEnter the third number: "; cin >> z; w = (float) (x+y+z)/3.0; cout << "\n The average is " << w << endl; return 0; }