Question: Using C++ CS 102 REVIEN LAB Input a) Area of a Triangle: Write a progzam that calculates the area of a triangle. For this program,

Using C++  Using C++ CS 102 REVIEN LAB Input a) Area of a

CS 102 REVIEN LAB Input a) Area of a Triangle: Write a progzam that calculates the area of a triangle. For this program, get the values for the base and the height using interactive input from the user. [HINT: area (base height) /21 Display your output in the format below The triangle's base: [base The triangle's height: (height] The triangle's area: [area b) Area of a Rectangle: Write a program that calculates the area of a rectangle. For this program,get the values Eor the length and the width using interactive input fzom the user. [HINT area(widthlength) Display your output in the format below The rectangle's width: [width) The rectangle's length: [length The rectangle's area: [area] c) Area of a Circle: Write a program that calculates the area of a circle. For this program, use 3.14159 for PI and get the value for the radius using interactive input from the useHINT: area PI(radius radius) Display your output in the fornat below: PI: [PI] The circle's radius: [radius The circle's area: area]

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!