@Dipspiggy/

gaygay

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
class Main{
  public static void main(String [] args) {
    String bebe = "BARN";
    String x = "";
    for (int n = 0; n < bebe.length(); n++) {
      String temp = bebe.substring(n, n+1);
      x = temp + x;
    }
    System.out.println(x);
  }
}