#include "stdafx.h"
#include <iostream>
usingnamespace std;
typedefunsignedshort us;
us FindArea(us length, us witdth);
int main()
{
us lengthofyard;
us widthofyard;
us areaofyard;
cout << "\nHow wide is your yard?";
cin >> widthofyard;
cout "\n How long is yur yard?";//you're missing a << here
cin >> lengthofyard;
areaofyard= FindArea(lengthofyard,widthofyard);
cout << "\nYour yard is ";
cout << areaOfYard;//C++ is case sensitive
cout << " square feet\n\n";
return 0;
}
us FindArea(us 1, us w)//"1" is not a valid argument name
{
return 1 * w;//why would you return w as area? what about height?
}