Question: please help. Assignment #6-User-Defined Functions Square Geometry CS 332-C++ Programming Points 75 - Refer to Programming Assignment Rubric for grading guidelines Specifications Overview Your program

 please help. Assignment #6-User-Defined Functions Square Geometry CS 332-C++ Programming Points

75 - Refer to Programming Assignment Rubric for grading guidelines Specifications Overview

Your program will utilize functions to perform geometric calculations on a four-sided

please help.

Assignment #6-User-Defined Functions Square Geometry CS 332-C++ Programming Points 75 - Refer to Programming Assignment Rubric for grading guidelines Specifications Overview Your program will utilize functions to perform geometric calculations on a four-sided geometric object given the x.y coordinates of two opposite corners of the object (see below). (x1, y1) (2, 5) (x2, y2) The program will ask the user for x, yi and x2, y2 to see where the object is located on a Cartesian grid system. All numbers will be positive; therefore, the object will always be in the 1t quadrant (your program does not need to error check for this) Your program will perform two primary tasks 1) calculate the area of the object 2) determine if the object is a square or rectangle Requirements Your program must have the following functions: 1. calclength: This function takes as its parameters two values (either xi and x or y; and y2 values) and returns the length of side area: This function takes as its parameters the length and width of the object and returns the area. 2

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!