Need some newbie help

I really need help with this assignment, I would be soo thankfull..
What I basically have to do is to create a program that could calculate the area of a rectangular house.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  #include <iostream>
#include <cmath>

using namespace std;
int main()
//Declaring variables
{
int w1;
int w2;
int area;

cout<< "Enter the widht to the house"<<;
 cin>>w1;
cout << "Enter the height of the house"<<endl;
cin>>w2;
area = w1*w2;
cout<<"Area is:" << area<<endl;

return 0;
Last edited on
Look at the end of line 12.
Ahh. haha Thanks
Topic archived. No new replies allowed.