Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shant0786/ostad-module-10-assignment


https://github.com/shant0786/ostad-module-10-assignment

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

মডিউল ১০ এর এসাইনমেন্ট :

1. Write a function named calculateDifference that takes two arguments and returns the difference between the first and second argument.
2. Write a function named isOdd that takes one argument and returns true if the number is odd, and false if it is not.
3. Write a function named find Min that takes an array of numbers and returns the smallest number in the array.
4. Write a function named filterEvenNumbers that takes an array of numbers and returns a new array containing only the even numbers.
5. Write a function named sortArrayDescending that takes an array of numbers and returns a new array sorted in descending order.
6. Write a function named lowercaseFirstLetter that takes a string and returns the same string with the first letter lowercased.
7. Write a function named countVowels that takes a string and returns the number of vowels (a, e, i, o, u, A, E, I, O, U) in the string.It should filter vowels from the string.
8. Write a function named findAverage that takes an array of numbers and returns the average of all elements.

Instructions:
Follow these instructions to complete the assignment:

1. Make an index.js file in your assignment project
2. Make sure all functions that you created in the index.js file