:( I keep getting the same warning and I'm not sure how to fix it. Here's what my program looks like. The warning is an error C2065 and it's telling me that numWin and numDoor are unidentified variables. Can anyone help and soon?
# include <iostream>
using namespace std;
int main ()
{
double wallCost=25, winCost=18.73, doorCost=15.99;
int length, width, numWin, numDoor, wallSize, doorSize, winSize, cost;
int count=0;
// Ask user the length of their house.
cout << "How long is your house?\n";
cin >> length;
// Ask user the width of their house.
cout << "How wide is your house?\n";
cin >> width;
// Ask user how many windows they have.
for(count=0; count < numWin; count++)
{
cout << "How many windows does your house have?\n";
cin >> numWin;
}
// Ask user how many doors they have.
for(count = 0; count < numDoor; count ++)
{
cout << "How many doors does your house have?\n";
cin >> numDoor;
}
return 0;
}
PLEASE HELP ME, I NEED THIS DONE BY TONIGHT!!