Question: write the code in c++ with code blocks. the instruction in the code. // Lab Project 2 // Enter your name: #include #include #include using

write the code in c++ with code blocks.

the instruction in the code.

 // Lab Project 2 // Enter your name: #include  #include  #include  using namespace std; // complete the following three functions // The function InputBaseHeight will read the values for the Base and Height of a Triangle from the keyboard // and pass the Base and Height values back through a reference parameter. void InputBaseHeight( ) // The function TriangleArea will receive the Base and Height values through a value parameter and // return the Area of the Triangle through the function name double TriangleArea ( // Area = 1/2 * Base * Height // The function PrintArea will receive the Area value through a value parameter // and label and print the Area value. void PrintArea ( int main() { double Base = 0.0, height = 0.0, Area = 0.0; // call InputBaseHeight function InputBaseHeight( ) // call TriangleArea function // call PrintArea return 0; } void InputBaseHeight( ) 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!