someone fix my code Idk whats wrong
public class Lab6a {
public static void main(String[] args) {
for (int i = 99; i >= 1; i–) {
System.out.print(i + ” “);
beerOnTheWall();
System.out.print(i + ” “);
bottlesOFBeer();
takeOneDown();
}
System.out.println(“No more bttoles of beer on the wall”);
}
private static void takeOneDown() {
System.out.println(“Take one down,pass it around”);
}
private static void bottlesOFBeer() {
System.out.println(” bottles of beer”);
}
private static void beerOnTheWall() {
System.out.println(“bottles of beer on the wall”);
}
}
6 bottles of beer on the walle 6 bottles of
OR
OR