Question PSC-FUNC-0034
EasyWhat will be the output of the following pseudocode?
Function area(Integer l, Integer w)
return l * w
End Function
Function perimeter(Integer l, Integer w)
return 2 * (l + w)
End Function
Print area(3, 4) + perimeter(3, 4)
- A.
14
- B.
26
- C.
Sign up free to see the answer and a step-by-step explanation.