Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Dice Write a program that simulates rolling two dice using the following steps: Prompt the user for the number of sides for two dice.
2.DiceWrite a program that simulates rolling two dice using the following steps:1.Prompt the user for the number of sides for two dice.2."Roll" the dice three times by generating a random number between 1 (inclusive) and the number of sides (inclusive).3.Keep track of the sum of the rolls for each die and output the sum and average for each die.3.Computing A RaiseWrite a java program called Salary.java that takes as input an employee's salary and a rating of the employee's performance and computes the raise for the employee. The performance rating here is being entered as a Stringthe three possible ratings are "Excellent", "Good", and "Poor". An employee who is rated excellent will receive a 6% raise, one rated good will receive a 4% raise, and one rated poor will receive a 1.5% raise. Add the if... else... statements to program Salary to make it run as described above. Note that you will have to use the equals method of the String class (not the relational operator ==) to compare two strings.