Question: PLEASE CODE THIS IN C AND NOT C++. PLEASE USE USER-DEFINED FUNCTIONS AND DONT USE FOR LOOPS, IF/ELSE STATEMENTS, OR SWITCH/CASE STATEMENTS. Lab #5 -
PLEASE CODE THIS IN C AND NOT C++. PLEASE USE USER-DEFINED FUNCTIONS AND DONT USE FOR LOOPS, IF/ELSE STATEMENTS, OR SWITCH/CASE STATEMENTS.
Lab #5 - Programming Assignment Due: Friday March 5, 2021 at 11:00pm (time local to West Lafayette, IN) 10 Points Possible Area C Problem: Given three points (A, B, C) that will always create a triangle with a positive area, calculate the measures of its three internal angles and the areas of the three quadrilaterals (Area A, Area B, Area C) created when a perpendicular lines are connected from the incenter to each side of the triangle. For this assignment you will be required to implement the user-defined functions (from chapter 4). r Area A Area B A B Example Execution #1: Enter x coordinate #1 -> 1.5 Enter Y coordinate #1 -> 1.5 Enter X coordinate #2 -> 2.8 Enter Y coordinate #2 -> 3.8 Enter x coordinate #3 -> 1 Enter Y coordinate #3 -> 6 Internal triangle angles: 35 48' 57.89", 111 14' 4.93", 32 56' 57.17" Area of quadrilaterals: 1.51, 0.33, 1.65
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
