Question: 2 . Area of a triangle and a rectangle, given two values: Ask the user for two values, height and width. Then, output the area

2. Area of a triangle and a rectangle, given two values:
Ask the user for two values, height and width. Then, output the area of a rectangle using the values; and the area of a triangle where the base is the width. Use concatenation to provide descriptive output, i.e. Area of the rectangle is [areaRec] and area of the triangle is [areaTri]

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!