Filled Triangle
class TriFilled{ public static void main(String args[]){ int height = 5; // loop for total height of triangle for(int i=1;iHollow Triangle
class TriHollow{ public static void main(String args[]){ int height = 5; // loop for total height of triangle for(int i=1;i