Write a fragment of code that will read words from the keyboard until the word done is

Question:

Write a fragment of code that will read words from the keyboard until the word done is entered. 

For each word except done, report whether its first character is equal to its last character. For the required loop, use a

a. While statement

b. Do-while statement

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

Step by Step Answer:

Question Posted: