text: modify the array such that we don 't  have to compute the products which  are obtained before
code: static void modify ( int [ ] a , int n ) { for ( int i = 1 ; i < n ; i ++ ) { a [ i - 1 ] = i * a [ i ] ; } }