This will help you: StringBuilder sb = new StringBuilder(); //height of triangle int height = 5;...
Separate names with a comma.