Hello everyone! Now is our Lab 8 exercise. For this topic, we learn new topic which is Method. In this exercise, we learn how to define and invoke various types of methods and able to develop reusable code that modular, easy to read, easy to debug and easy to maintain, and finally we should able to apply the concept of method abstraction and stepwise refinement in software development.
Actually this topic is quite hard for me because there are too many steps to understand. I keep learn but it still hard for me. I need to do more exercise on it so that i can understand this topic.
Here is our exercise during Lab 8.
Question 1
Answer
Question 2
Answer
(a)
(b)
Thats all from me. Thank you :)