SAP
C_BOCR_11 · Question #208
C_BOCR_11 Question #208: Real Exam Question with Answer & Explanation
The correct answer is C. Change the variable scope.. See the full explanation below for the reasoning.
Question
You create the following custom function to convert Celsius to Fahrenheit or vice versa depending on an argument passed to the function: Function(): Global StringVar CurrentTempType; Global NumberVar DegreeAmount; If CurrentTempType = "F" then ((DegreeAmount - 32) * 0.55) else if CurrentTempType = "C" then ((Degreeamount * 1.8) + 32); EndIf: Which change must you make to the code to successfully save the function?
Options
- AUse an array variable.
- BMove the argument list to the end of the formula.
- CChange the variable scope.
- DConvert the formula to Basic syntax.
Community Discussion
No community discussion yet for this question.