C # program to count subarrays having product less than k .
using System ; public class GFG { static int countsubarray ( int [ ] array , int n , int k ) { int count = 0 ; int i , j , mul ; for ( i = 0 ; i < n ; i ++ ) {