Last Updated: February 25, 2016
·
349
· oz9n

Java Reverse Print

import java.util.Scanner

char c1,c2,c3,c4,c5;
c1=tara.findInline(“.”).charAt(0);
c2=tara.findline(“.”).charAt(0);
c3=tara.findline(“.”).charAt(0);
c4=tara.findline(“.”).charAt(0);
c5=tara.findline(“.”).charAt(0);
Scanner. tara=new Scanner(System.in);
System.out.println(c5+c4+c3+c2+c1);