Name: Cameron Beattie
Period: 7
Assignment: Lab #7
This problem focused on using blocks to organise multiple smaller sections of code to create a function that converts feet to inches or miles.
I had a sprite ask the user for a number of feet. then it took the answer and recorded it as a variable. It then went to a block to determine whether it should be converted to inches or miles. depending on which it needed to be converted to, it would convert it and then go to a new block that would tell the user the final answer.
This problem focused on using blocks to organize our code and find the distance between 2 ordered pairs.
I had the sprite ask for 4 numbers and then set those numbers as x1, x2, y1, and y2. Then it plugged those numbers into the distance formula that I put inside a block and set the distance to the answer.