From 116df7d56abc9880e7ade0e44966a0bf14ff676e Mon Sep 17 00:00:00 2001 From: Panther-12 Date: Tue, 18 Apr 2023 11:57:20 +0300 Subject: [PATCH] challenge submission --- Panther-12/count_zeros.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Panther-12/count_zeros.js 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