Use two languages: Java and C++ to write the exception handlingfor the following program. Note: focus on exception handling, otherdetails of code may be sketches:
A program inputs a list of integer values in the range of -100to 100 from the keyboard. This program must use exception handlingto ensure that the input values are in range and are legalintegers. In case the input value is not in range or not legalinteger, this input value will be ignored, an error message will beprinted, and program continues. In the case of the input value isnot of integer type, an error message must be printed and theprogram terminated.
Expert Answer
Answer to Use two languages: Java and C++ to write the exception handling for the following program. Note: focus on exception hand…