You are on page 1of 1

Q3.

Which of the following expressions can be used to calculate the quarter number (for example, 1 for January through March) for the n-th month of the year? Here, n ranges from 1 for January to 12 for December, and each fractional part of the resulting values is truncated. a) c)

n 1 3 n 3

b) d)

n 1 +1 3 n +1 3

You might also like