Someone Fix Code Idk Whats Wrong Public Class Lab6a Public Static Void Main String Args In Q37224432

6 bottles of beer on the walle 6 bottles of beere Take one down, pass it arounde 5 bottles of beer on the walle bottles of be

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.