Multiple choice technology programming languages

Which of the following code gives the output : The MEANS Procedure Analysis Variable : totrev Mean Sum 753.82 12349156.38

  1. PROC MEANS DATA=ORGANIZATION MEAN SUM MAXDEC=2; VAR TOTREV; run;

  2. PROC MEANS DATA=ORGANIZATION MAXDEC=2; VAR TOTREV; run;

  3. PROC MEANS DATA=ORGANIZATION MEAN SUM MAXDEC=2; run;

  4. PROC MEANS DATA=ORGANIZATION SUM ; VAR TOTREV; run;

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

To produce an output displaying only the Mean and Sum of totrev formatted to two decimal places, you must explicitly request the MEAN and SUM statistics along with MAXDEC=2 and specify VAR TOTREV;. Omitting statistics displays all default statistics.