Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The area of a Trapezoid is calculated by the following formula:area = ( ( base 1 + base 2 ) / 2 ) * heightUse
The area of a Trapezoid is calculated by the following formula:area base base heightUse X floating point instructions to calculate the area when the following variables are declared values are given as sample only, actual values in the variable can be other valid valuesDATAbase REALbase REALheight DWORD area REALAssignment: Calculate the area and store it in the variable "area". Write only the code blockno directives are needed Submitwrite "ALL" your code as text Make the code executabe in a compiler
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started