Commit Graph

3 Commits

Author SHA1 Message Date
grace-xing6 5839a4d2a1 I revised shapes code to make it work
2: function is a series of variables
By defining different functions and combine them, they could solve small problems specifically and then combine to fix the big problems that can be defined by a series of small problems
example: If you want to draw something complicated or design some games with many elements, you need to think the elements involved in it and define individual functions and combine them in a logical way to achieve it.
2024-09-03 20:55:27 -04:00
grace-xing6 e2c7bd9dc7 I defined variables and make it output circle area
I did it indivudally but will check with groups when we find time to meet.
1 value is like valid things that stand for specific things, like Pi, like ture or false
 name does not represent the same things all the time. It might differ with time, culture, or how you define things
 variable is useful in programming as it allow people to freely define things and program based on their own needs
 Value is fixed and can only solve specific problems (like 5*2 = 10) while name is more flexible, it allows
 me to change different number later (like circle area).
2024-09-03 20:26:12 -04:00
gxing b22b45b1c0 Initial commit 2024-08-29 18:09:29 +00:00