Using For Loops

PHOTO EMBED

Mon Oct 31 2022 04:33:54 GMT+0000 (Coordinated Universal Time)

Saved by @cruz #javascript

class Coffee {
  
  public static void main(String[] args) {
    
    for (int cupsOfCoffee = 1; cupsOfCoffee <= 100; cupsOfCoffee++) {
      
      System.out.println("Fry drinks cup of coffee #" + cupsOfCoffee);
       
    }
    
  }
  
}
content_copyCOPY