--- The previous *Markdown* syntax will generate the following output: --- --- ## Group Assignment * Start as soon as possible! * {Resume} * **deadline Wednesday 6 PM** --- ## Lab Exercise 1. Create new directory `week4-lab`. 2. In `week4-lab`, create `main.cpp` and `my_header.hpp`. 3. Implement an application that computes the Pythagorean distance between two points. -- $$ d = \sqrt{ (x_1 - x_2 )^2 + (y_1 - y_2)^2 } $$ --- * In `my_header.hpp`, make a new type called `Point`, using struct, that holds two doubles: -- ```c++ struct Point { double x; double y; }; ``` --- * In `my_header.hpp`, Make a new function `distance` with the following declaration. ```c++ double distance( Point p1 , Point p2 ) { // Logic } ``` --- ### In `main.cpp` implement the `main` function. #### Option 1: receive the two points using the `std::cin` #### Option 2: receive the two points through terminal using `argv`