https://github.com/jahid458/js-problems-part1-practice-task-solutions
https://github.com/jahid458/js-problems-part1-practice-task-solutions
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jahid458/js-problems-part1-practice-task-solutions
- Owner: Jahid458
- Created: 2024-09-10T10:08:48.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-10T10:11:32.000Z (9 months ago)
- Last Synced: 2024-09-10T11:38:23.259Z (9 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# js-problems-part1-practice-Solutions
## Task-1:
Write a function to convert temperature from Celsius to Fahrenheit.
## Task-2:
You are given an array of numbers. Count how many times the a number is repeated in the array.
sample-input: numbers = [5,6,11,12,98, 5]
find: 5
output: 2
sample-input:
numbers = [5,6,11,12,98, 5]
find: 25
output: 0
## Task-3:
Write a function to count the number of vowels in a string.## Task-4:
Write a function to count the number of vowels in a string.
Write a function to find the longest word in a given string.sample-input: I am learning Programming to become a programmer
sample-output: Programming
## Task-5:
Generate a random number between 10 to 20.