the java program must read line from last to first.., it.s not in reverse order..
eg. if there are
so the output must be
i need for program for it.. can any body give idea for it..