diff --git a/lesson-20/Practice/practice.js b/lesson-20/Practice/practice.js index 02dc301..8fdab41 100644 --- a/lesson-20/Practice/practice.js +++ b/lesson-20/Practice/practice.js @@ -25,4 +25,20 @@ function div(a, b){ return a/b; }; console.log(div(10,5)); -console.log(div(10,0)); \ No newline at end of file +console.log(div(10,0)); +// +// +console.log(""); +console.log("EXERCISE:-2"); +// +// +let numbers =[10, 40, 0, 20, 50] +for(let i=0; i