diff --git a/Panther-12/count_zeros.js b/Panther-12/count_zeros.js new file mode 100644 index 00000000..c8930076 --- /dev/null +++ b/Panther-12/count_zeros.js @@ -0,0 +1,11 @@ +// count zeros funtion +function countZeros(A){ + // variable stores number of zeros + int count =0; + for(int i=0; i