PrintStars.java - public class PrintStars public static void main(String args TODO Auto-generated method stub drawASCIITriangle(5 public static int

PrintStars.java - public class PrintStars public static...

This preview shows page 1 out of 1 page.

public class PrintStars { public static void main(String[] args) { // TODO Auto-generated method stub drawASCIITriangle(5); } public static int drawASCIITriangle(int height) { for(int i=0;i<=height;i++){ System.out.println(starsToPrint(i));
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '19
  • Subroutine, public static void, TODO Auto, public class PrintStars, public static int drawASCIITriangle

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture