Write a program that reads a word, compares the first and second half of the word, and

Question:

Write a program that reads a word, compares the first and second half of the word, and prints “first and second half same” or “first and second half different”. If the length of the word is odd, ignore the middle letter.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: