Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE WRITE THIS CODE IN C USING USER-DEFINED FUNCTIONS PLEASE. 10 Points Possible Area C Problem: Given three points (A, B, C) that will always

image text in transcribed PLEASE WRITE THIS CODE IN "C" USING USER-DEFINED FUNCTIONS PLEASE.
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). 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 Example Execution #2: Enter X coordinate #1 -> -1 Enter Y coordinate #1 -> 3 Enter x coordinate #2 -> -2 Enter y coordinate #2 -> -4 Enter x coordinate #3 -> 2 Enter Y coordinate #3 -> -1 Internal triangle angles: 45 0' 0.00", 45 0' 0.00", 90 0' 0.00" Area of quadrilaterals: 5.18, 5.18, 2.14

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

how would you have done things differently?

Answered: 1 week ago