I'm doing a simple sample exercise program for C++ that is asking me to have the user input a Base and a Height and calculate the two in order to find the Area.
The given formula for Area is: Area = 1/2 * Base * Height
After the user inputs the Base and Height, it should calculate and then output the Area. For some reason, no matter what numbers I enter, it keeps outputting Area as Zero. Can someone take a look at this and see if I'm doing something incorrect?