(Choose 1 answer)
int s = 1, i;for (i = 0; i < a.Length; i++)
s *= a[i];
return s;
}
} class Program
{
static void Main(string[] args)
{ int s:
IA obj = new A();
s = obj.Calc(2,1,4);Console.WriteLine(++s);
}
}
The output will be:
A. 9
B. 8
C. 7
D. 10
Exit 2