/* Given an int variable size, write a program segment that outputs a triangle of asterisks '*', which is size rows high, and size columns wide, starting with a row of size asterisks, and ending with a row of a single asterisk. For example, if size = 5, the output should be: ***** **** *** ** * ---------------*/ import java.util.Scanner; public class HW4q2e { public static void main(String[] args) { Scanner kb=new Scanner(System.in); int userInt=kb.nextInt(); while (userInt>0) { int starCount=0; while(starCount