Julia/Haskell 2
1. Write a program in both Julia and Haskell to print the longest word in a given string where the strings are separated by spaces. e.g. String = “This is programming in Julia”
Ans: Programming
2. If there are to or more such occurrences of the longest string print them all. e.g. String = ¡°This is a four letter cat.
Ans: (this, four)