The following function has ____.
Function Numeric average()
// Declare variables
Declare Numeric inputNum // number entered
Declare Numeric quantity // numbers input
Declare Numeric total = 0 // accumulated total
Declare Numeric index // loop variable
Declare Numeric avg // avg of numbers
// Ask user how many numbers to input
Display "How many numbers will you input? "
Input quantity
// Ask user how many numbers to input
Display "How many numbers will you input? "
Input quantity
// Compute and return average, end function
Avg = total / quantity
Return avg
End Function
A) strong cohesion
B) high coupling
C) weak cohesion
D) strong vulnerability
Correct Answer:
Verified
Q40: Sending the value of a variable or
Q41: When _, the variable's actual memory address
Q42: A _ error occurs when JavaScript's language
Q43: A _ error occurs when the wrong
Q44: With a _ error, the syntax is
Q45: A _ is a value that is
Q46: _ is the measure of the degree
Q47: _ is the degree to which a
Q49: You might be "_" your code if
Q50: The prompt() command in JavaScript is actually
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents