The correct option is A −15
The average of a set of numbers is the sum of the numbers divided by the number of numbers:
i.e: average =sum of all7numbersNo. of numbers(N)
Sum of all 7 numbers =average ×N
=12×7=84
Similarly, the sum of the new set of numbers is =15×7=105
Now, suppose that the seven numbers are a,b,c,d,e,f,g and the g gets replaced by 6.
Then we have, a+b+c+d+e+f+g=84 ............(1)
⇒a+b+c+d+e+f+6=105
⇒a+b+c+d+e+f=99.............(2)
Plugging the vlaue from (2) in (1), we get
99+g=84
g=−15
Therefore, the number that was replaced was −15.
Hence, option B is correct.