Question: Using c++ please Be sure the first line of Abstract has your name, date and LAB #2 and add what the program is all about
Be sure the first line of Abstract has your name, date and LAB #2 and add what the program is all about use / ..... Then construct a cpp program with lots of comments using // An object moves between two points in a (x,y) plane and the time in seconds at each point was recorded, values assigned by you. (do not use the ones in the text or your neighbors). 1. Calculate the distance traveled between the two points them. 2. Produce the area of the triangle that the two points can define. 3. Produce the perimeter of the triangle 4. Produce the RATIO of perimeter/area. 5. Produce the velocity between the two points. Rate=distance/time Be sure to make it clear what is coming out of the program with appropriate statements. So that someone reading it understands what is going on. 6. specify the values of the two points and time on output for the distance Traveled (part 1 above). And the velocity (part 5). For example: in the previous program example, its clear we are outputting the distance between two points in a plain as follows but we are not specifying what the values were. cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
