Write a program to Reverse given string

This program reverses a string entered by the user. For example if a user enters a string "VB STRING" then on reversing the string will be "GNIRTS BV"

Program flow: Mai n theme of this program is, we have to reverse the string. This program we can write in two ways.


I) by using string function “”

II) Without sting reverse function. 

Example code for using string function:



Example code for without using string function:




Out Put Of the Above Program




No comments:

Post a Comment