For this project I made a sprite switch costumes and two more sprites which act as buttons switch the speed variable when clicked. Once they are pressed, the speed variable changes altering the speed in which the sprite switches costumes.
For this project I created a sprite that asks questions to the viewer and tell the answers he recieves to another sprite.
For this project I made four variables representing the variables in the distance formula. After asking for the values of those variables, the sprite uses the distance formula to find the distance between the two coordinates.
Question 1: The variables in computer programming are different from variables in math because they often change their values and they require a temporary variable to switch values between one another.
Question 2: When creating a variable, the variable can affect the speed of rate of something and store answers/formulae.
Question 3: A variable can only store one value at a time.
Question 4: In that situation both values will be lost because a temporary variable is needed to store the values while they are being switched.
Question 5: In this code snippet, the values are being switched one at a time as the value is transferred through the temporary variable and then to the next value.