Range [ L , R ] in 1 base index
int L = 2 , R = 5 ; Console . WriteLine ( d . calculateProduct ( A , L , R , P ) ) ; L = 1 ; R = 3 ; Console . WriteLine ( d . calculateProduct ( A , L , R , P ) ) ; } }