Advertisement
Guest User

Play Button

a guest
Apr 26th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. public class Program {
  2.  
  3. public static void main(String[] args) {
  4.  
  5. /*
  6. * Mattie Richardson
  7. * 4th Period
  8. * Computer Science
  9. * Hour 2
  10. * Play Button
  11. */
  12.  
  13.  
  14. for(int i = 1 ; i <= 1; i++ ) {
  15. for(int s = 0; s < i; s++) {
  16.  
  17. }
  18. System.out.print("*");
  19.  
  20. }
  21. for(int i = 5 ; i >= 1; i-- ) {
  22. for(int s = 0; s < i; s++) {
  23. System.out.print("*");
  24. }
  25. System.out.println();
  26. }
  27.  
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement