cpp, with functions to perform the following: bool areParallel(parameter list as described) This function will return true if two lines, each line defined by two points, are parallel; otherwise, it will return false. bool arePerpendicular(parameter list as described) This function will return true if two lines, each line defined by two points, are perpendicular; otherwise, it will return false. double calculateDistance(parameter list as described) This function will calculate and return the distance between two points. bool areCoinciding(parameter list as described) This function will return true if two lines, each line defined by two points, are coinciding (the same line); otherwise, it will return false. bool calculateIntersection(parameter list as described) This function will return true if two lines, each line defined by two points, intersect; otherwise, it will return false. If the two lines intersect, the point at which they intersect should be passed back to the calling function via reference parameters. void calculateMidpoint(parameter list as described) This function should calculate the midpoint of a line segment defined by two points. Since the midpoint consists of two values, these values should be passed back to the calling function via reference parameters. bool calculateSlope(parameter list as described) This function will return true if the slope of a line, defined by two points, is defined; otherwise, it will return false. If the slope is defined, the slope should be passed back to the calling function via a reference parameter. double calculateYIntercept(parameter list as described) This function will return the y-intercept of a line given one point on the line and the slope of the line. The standard equation of a line is y = mx b where b is the y-intercept. void displayEquationOfLine(parameter list as described) This function will display the two points and the equation of a line, defined by two points, to the screen in the standard format, y = mx b, where m is the slope and b is the y-intercept. void getPoint(parameter list as described) This function should get a point, (x, y), from the user and pass the values for both x and y back to the calling function using reference parameters. The points could contain decimal values which means the variables storing these values should be of type double. Recall that floating-point numbers should not be compared using the == relational operator; instead, use an epsilon comparison with a tolerance of 0.0000001. All floating point values should be displayed to user with 1 decimal place. When establishing parameter lists which include multiple points, students often implement an ordering of all the x values together followed by all of the y values, e.g. x1, x2, y1, y2. A better ordering would be to group the x and y values of a point together, e.g. x1, y1, x2, y2. Be sure to include driver code in function main to test these functions thoroughly. Recall that testing functions using driver code calls for the use of hard-coded values rather than prompted values; that will work for all of these functions except getPoint() which requires user input values for testing. Although not required by this assignment, any additional functions you create would help to demonstrate your grasp of the concepts of top-down design and modular coding. Make sure that you add the program comment header and the function prologues to your program before submitting it. Reference parameters will be labelled as @param[out] in your function prologues. When you have completed and tested the program, submit the source code. If you have any difficulty in completing this assignment, be sure to get help from your instructor. Spend enough time with pencil and paper to satisfy yourself that you truly understand the problem and can work examples by hand before starting to write program code; you cannot explain a solution to a computer if you do not understand it yourself. If you find you do not understand a problem well enough to work examples by hand, seek out input from your instructor or fellow classmates; discussion with classmates can be particularly rewarding for both parties (as long as collaboration stops here). Start as early as you can to give yourself every opportunity to think through a solution; starting close to the deadline increases pressure on you and can make it even harder to think.
Why Choose Us
We value our clients. For this reason, we ensure that each paper is written carefully as per the instructions provided by the client. Our editing team also checks all the papers to ensure that they have been completed as per the expectations.
Professional Academic Writers
Over the years, our Acme Homework has managed to secure the most qualified, reliable and experienced team of writers. The company has also ensured continued training and development of the team members to ensure that it keep up with the rising Academic Trends.
Our prices are fairly priced in such a way that ensures affordability. Additionally, you can get a free price quotation by clicking on the "Place Order" button.
We pay strict attention on deadlines. For this reason, we ensure that all papers are submitted earlier, even before the deadline indicated by the customer. For this reason, the client can go through the work and review everything.
At Graduate Assistants, all papers are plagiarism-free as they are written from scratch. We have taken strict measures to ensure that there is no similarity on all papers and that citations are included as per the standards set.
Customer Support 24/7
Our support team is readily available to provide any guidance/help on our platform at any time of the day/night. Feel free to contact us via the Chat window or support email: email@example.com.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Graduate Assistants has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.
At Graduate Assistants, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.
Admission and Business Papers
Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.
Editing and Proofreading
Our skilled editing and writing team will help you restructure you paper, paraphrase, correct grammar and replace plagiarized sections on your paper just on time. The service is geared toward eliminating any mistakes and rather enhancing better quality.
We have writers in almost all fields including the most technical fields. You don’t have to worry about the complexity of your paper. Simply enter as much details as possible in the place order section.