Question: Write a C program that will allow the user to enter the base and height in meters of a triangle and display the area of

Write a C program that will allow the user to enter the base and height in meters of a triangle and display the area of a triangle in both meters and cm. You can check the formulas online.
Your program should behave as follows (the underlined is data entered by the user as an example):
Please enter the base of the triangle in meters >1.1?
Please enter the height of the triangle in meters >2.1?
The area of the triangle in meters is
The area of the triangle in cm is
********
 Write a C program that will allow the user to enter

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!