Help me to do this question for my computer engineer, I dont know how to fix and
ID: 3808985 • Letter: H
Question
Help me to do this question for my computer engineer, I dont know how to fix and run the code. For the following function, there is a problem with this function. Fix the function so that it provides a valid output (in other words, what variable will provide a valid output value to the spreadsheet). An invalid output is the number zero when you would expect another value. Review the Lab 3 document that explains functions. For example, putting in cell A1 the formula Test1(20, should give an output of 12 in cell A1.There is just one thing that needs to get fixed in the function that will fix the issue. Function TestFunction(Y) For k 1 To 3 Next k Result X End FunctionExplanation / Answer
Function TestFunction(Y)
For k=1 to 3
X = k*Y*2
Next k
Result = X
End Function
Please let me know in case of any issue
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.