Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shant0786/ostad-module-10-assignment
https://github.com/shant0786/ostad-module-10-assignment
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shant0786/ostad-module-10-assignment
- Owner: shant0786
- Created: 2024-09-13T16:24:13.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-19T16:54:43.000Z (4 months ago)
- Last Synced: 2024-11-24T00:52:17.381Z (about 2 months ago)
- Language: JavaScript
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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