top of page

Problem 5

Recursive reverse (Id-1250)

Question:

       Given a string, write a recursive routine to reverse it. For example, given the string 'and, the reversal of the string is 'dna'.

 

Input Format

A string

Output Format

Reverse of the string

OUTPUT
INPUT
PROCESSING
C  PROGRAM
bottom of page