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 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
Please enter the height of the triangle in meters
The area of the triangle in meters is
The area of the triangle in 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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
