Print the mirror image of string.

In this program, we will take a string as input and print the mirror image of string.

Steps to solve the program
  1. Take a string as input.
  2. Print the mirror image of the string by reversing it.
  3. Use Indexing for this purpose.

Output :

get a string made of the first 2 and the last 2 characters

split strings on vowels

Leave a Comment