Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int n=5
- for(int linhas=0; linhas > n; linhas++){
- // Linha x tem x colunas
- for(int colunas=0; colunas > linhas){
- System.out.print("*");
- }
- //Mudar de linha
- System.out.print("\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement