0

Por si les interesa saber como "Invertir Cadena"

import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String text = scanner.nextLine(); char[] arr = text.toCharArray(); //tu cĂłdigo va aquĂ­ for (int a = arr.length -1; a >= 0; a--){ System.out.print(arr[a]); } } } AsĂ­ lo hice yo que difĂ­cil xd

10th Aug 2022, 8:05 PM
SKY RED
SKY RED - avatar
1 Answer
10th Aug 2022, 9:09 PM
Jayakrishna 🇼🇳