JS-Assignment-7
1. Consider the following string
aaaabbababababbbbabababaaaa
Find frequency of "a" and "b".
Note- Frequency means, the no of times that specific character has appeared.
2. Write a function to receive a string of multiple words as argument and then print the no of words in that string.
Example:
Input : how are you all
Output: 4
https://codepen.io/Mahaboob-Basha-the-bashful/pen/PoMEXBe
ReplyDeletehttps://codepen.io/Mahaboob-Basha-the-bashful/pen/ZEgvVMz