0
input any number and it's output number will be in reverse.
pls answer with solution
3 Réponses
+ 5
import java.util.*;
public class Program
{
public static void main(String[] D_Stark) {
System.out.print(new StringBuilder(new Scanner(System.in).nextLine()).reverse());
}
}
+ 1
Full Gamer i don't get homeworks anymore. My homework days are gone long ago,as I'm new to this coding just asking for little help.
I was struggling with this particular program,but not now thanks to D_Stark