Q-1 A> Java program that prompts the user to input the base and height of a triangle. Accordingly calculates and displays the area of a triangle using the formula (base* height) / 2, and handles any input errors such as non-numeric inputs or negative values for base or height. Additionally, include error messages for invalid input and provide the user with the option to input another set of values or exit the program Source Code :- import java.util.InputMismatchException; import java.util.Scanner; class q1_a { public static void main(String args[]) { Scanner s = new Scanner(System.in); boolean continueProgram = true; while(continueProgram) { try{ System.out.print("Enter the base of the traingle : "); double base = s.nextDouble(); System.out.print("Enter the height of traingle : "); double height = s.nextDouble(); if(base <= 0 || height <= 0) { throw new IllegalArgumentException("Base and height mu...