Skip to content

Instantly share code, notes, and snippets.

@roypurbo
Created April 21, 2013 14:03
Show Gist options
  • Save roypurbo/5429689 to your computer and use it in GitHub Desktop.
Save roypurbo/5429689 to your computer and use it in GitHub Desktop.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package segitiga;
/**
*
* @author phantom
*/
public class Segitiga {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
for (int i = 0; i < 10; i++) {
for (int k = 0; k < i; k++) {
System.out.print("*");
}
System.out.println();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment