CPT Requirements Explanation
Instructions for input from one of the following: the user, a device, an online datas stream, a file. When the user clicks on a marker in the map an output of the lattitude and ongitude is responded image.png
Use of at least one list (or other collection type) to represent a collectino of data that is stored and used to manage program complexity and help fulfill the users purpose. I use a list of all the houses in our database which is marked on the map
At least one procedure that contirubted to the program’s intened purpose where you have defined: the name, return type, one or more parameters: My feature uses Fetch to return information from our database into the list.image-3.png
An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure image-2.png
Instructions for output based on input If the user clicks on a place on the map that is not a marker or then error message is displayed. User input is also obtained from what houses the uses adds to their favorites. Succecful click results in succesful display fo address of house and longitude and latitude of the house.image.png