Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Write a description of class Lanterns here.
- * question 40 on chapters one and two test
- * @author (Jordi Tobias)
- * @version (March 25, 2017)
- */
- public class Lanterns
- {
- public static void main(String[] argm)
- {
- fivestars();
- ninestars();
- thirteenstars();
- none();
- none();
- fivestars();
- thirteenstars();
- starandline();
- thirteenstars();
- fivestars();
- ninestars();
- thirteenstars();
- }
- public static void fivestars()
- {
- System.out.println(" ***** ");
- }
- public static void ninestars()
- {
- System.out.println(" ********* ");
- }
- public static void thirteenstars()
- {
- System.out.println("*************");
- }
- public static void none()
- {
- System.out.println(" ");
- }
- public static void starandline()
- {
- System.out.println("* | | | | | *");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement