Answer:
function findLongestWord(str) {
var longestWord = str.split(' ').sort(function(a, b) { return b.length - a.length; });
return longestWord[0].length;
}
findLongestWord(InputHere);
Explanation:
Replace InputHere with the input
A trademark can be anything! it could be be a hair tie, a flag and even a bag.
Here are some of the aspects of a search process:
* Indexing, a select information such as keywords is sent to the search engine's database to be indexed.
* Webpages or websites containing searched-for words are located. These are called Meta Keywords.
* Automated robots called spider or crawlers helps build lists of keywords.
Answer:
The pseudocode is as follows
1. Input Steps
2. Input Day
3. Miles = Steps/2000
4. Calories = 65 * Miles
5. Print Calories
6. Stop
Explanation:
This line gets the number of steps for the day
1. Input Steps
This line gets the current day
2. Input Day
The line calculates number of miles
3. Miles = Steps/2000
This line calculates the calories lost
4. Calories = 65 * Miles
This line prints the calories lost
5. Print Calories
The pseudocode ends here
6. Stop