Multiple choice technology programming languages

What is the output of the following sum statement? X1=9, X2=4, X3=1 Z=sum(of X1-X3);

  1. 8

  2. 10

  3. 14

  4. 12

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

SUM(OF X1-X3) sums the variables X1, X2, X3 (values 9, 4, 1). 9+4+1 = 14. The SUM function handles missing values differently than simple addition, though here all values are present.