Java Program for Triangle Part - 4