Computer Science, asked by mehrakaran021, 1 year ago

plss answer the program

Attachments:

Answers

Answered by vikrantpalle
1
string a="COMPUTER";
int l=a.length();
String f="";
for(int i=(l-1);i>=0;i--)
{
f="";
for(int j=i;j<l;j++)
{
f=f+a.charAt (j)
}
System.out.println(f);
}
Similar questions