Answer:
Top down design
Explanation:
Top-down design is an approach that is used to break down the problem into the smaller subpart so that it can be manageable into more clear form.
C programming is the example of a top-down approach while C++ is the example of the bottom-up approach.
The advantages of the top-down design approach are:
1) easy to manage
2) easy to find the error
3) easy to debug
You should follow A. Alternate between single and horizontal line breaks, and B. update your resume on job sites once a year, so that you can tell the people who look at the resume what skills you have updated on.
Answer:
c. decDiscount = GetDiscount(decSales, decRate)
Explanation:
Option a. is incorrect because it is using Call word which is not a valid way to invoke a function.
Similarly option b. is also incorrect because it uses Call word to invoke function GetDiscount() which is not a valid way to call a function and also it is passing it the contents of three variables decSales, decRate and decDiscount and as mentioned in the question only two parameters are to be passed to GetDiscount() function.
Option c. is correct as it invokes the function GetDiscount() and passes it the contents of two variables decSales and decRate and assigns this to a variable decDiscount. For example if the GetDiscount() method has to calculate the discount using decSales and decRate then the resultant value of this computation is assigned to decDiscount. So whatever this function returns or computers is assigned to and stored in decDiscount variable. So this is a valid way to invoke a method.