In this program, we will take a string as input and exchange first & last letters of the string
Steps to solve the program
- Take a string as input.
- Exchange the first and last letters of the string using Indexing.
- Print the output.
Output :
Online Learning Platform