Write a program that reads a string, compares the first and last letter, and and prints first

Question:

Write a program that reads a string, compares the first and last letter, and and prints “first and last letter same” or “first and last letter different”.

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

Step by Step Answer:

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