I learned a few things in this lab. One new function that I learned is to replace the variable with a new variable. By doing this, it would allow the button to continuously changing the variables and replacing it with a new one. there wont be the need to make the button work once and it will continuously work. Another thing that I learned in the lab is reassigning numbers to their initial value.
Thursday, April 26, 2018
Lab 19
In this lab, it was all about using a shortcut to add, subtract and more function. For example, if I want to multiply the value of x and y and then make the result equal to x, you would do x *= y. This makes the code shorter and easier to understand or you can say its a way of using abstraction. I first got a copy of Lab #18 and just changed the function. I also had to make the x value a global variable or else the code wont function correctly. This took time to figure out, but I managed to figure it out.
Subscribe to:
Post Comments (Atom)
Junior Achievement Senior Year
In this service, 2 from the Web Design Academy and 2 from the Video Production academy are suppose to work together to teach a class about f...
-
In this service, 2 from the Web Design Academy and 2 from the Video Production academy are suppose to work together to teach a class about f...
-
In this field trip, we went to the Google office in Manhattan to learn about the experience of people working there and how the daily lif...
No comments:
Post a Comment