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
************************ Thank You********************
Please note the following:
Both outputs must display the answer with one decimal digit. You need to paste here the code and the screenshot of the screen on which you have written the code, and the outputs are displayed.
Submit this assignment in printed form with a cover page which should have a tittle, your name, and student ID.
 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!