1. Write a program that reads three edges for a triangle and computes the perimeter if the input is valid. Otherwise, display that the input is invalid. The input is valid if the sum of every pair of two edges is greater than the remaining edge. Save the source code in file exercise1. java .
2. Write a program that prompts the user to enter a three-digit integer and determines whether it is a palindrome number. A number is palindrome if it reads the same from right to left and from left to right. Save the source code in file exercise2. java
Take the all screenshot and save in to Microsoft word file name YourName-Lab02 and put above code in Lab2Folder
Compress the folder Week2-Lab2 and upload it.