Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

S-1 Find the biggest word in a sentence

Create a big sentence and save this string into a variable. 

Try to find out how you are going to print out the biggest word in this string.

step1 hint: Maybe you would like to split the string into separable pieces and have every word separately.

step2 hint: When you do this maybe you want to loop through each word and compare length with the next one.

 

 

Find the biggest word in a string

Kostas Diakogiannis
Module by Kostas Diakogiannis, updated more than 1 year ago
No tags specified