Write a lambda expression for a function that turns a string into a string made of the

Question:

Write a lambda expression for a function that turns a string into a string made of the first letter, three periods, and the last letter, such as "W...d". (Assume the string has at least two letters.) Then write a program that reads words into a stream, applies the lambda expression to each element, and prints the result. Filter out any words with fewer than two letters.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: