This article has been dead for over three months
You
import java.io.*;
class word_descend
{
static void descend()throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter the word or sentece which you want to display in descending order:\n");
String s=br.readLine();
int l=s.length();
for(int j=l;j>=0;j--)
{
System.out.println(s.substring(0,j));
}
}
}