Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ComplexFigures{
- public static void main(String[] args){
- for(int i = 5; i > 0; i--){
- for(int j = 0; j < 5 - i; j++){
- System.out.print(" ");
- }
- for(int a = 0; a <= i; a++){
- System.out.print("**");
- }
- System.out.println();
- }
- }
- }
- ****
- **
Add Comment
Please, Sign In to add comment