You are provided with the following code that calculates an…

You are provided with the following code that calculates an employee’s annual and monthly salary based on their hourly wage:   1 import javax.swing.JOptionPane; 2  3 public class Salary { 4     public static void main(String[] args) { 5         // Get the hourly wage from the user 6         String input = JOptionPane.showInputDialog(“Enter your hourly wage:”); 7         int hourlyWage = Integer.parseInt(input); // Convert input to an integer 8  9         // Calculate annual and monthly salary10         int annualSalary = hourlyWage * 40 * 50;11         int monthlySalary = annualSalary / 12;12 13         // Display the results using JOptionPane14         JOptionPane.showMessageDialog(null, “Annual salary is: ” + annualSalary);15         JOptionPane.showMessageDialog(null, “Monthly salary is: ” + monthlySalary);16     }17 }   Refactor this code using modular programming. Specifically, you must break the program down into methods that each perform a single task.

Develop a program in Java to prompt the user for a score and…

Develop a program in Java to prompt the user for a score and then assign a letter grade based on the following grading criteria. The score must be between 0 and 100, if the inputted score is outside the range, display an error message. Use JOptionPane for Input and Output Grading Criteria Score >= 90 – “A” Score >= 80 – “B” Score >= 70 – “C” Score < 70   - “F”

  Identify:   This is the first university established in t…

  Identify:   This is the first university established in the colonies by the English immigrants in 1636, six years after the arrival of the Puritans including Winthrop and Bradstreet. This institution was founded primarily for the training of ministers, who would be needed as more Puritan immigrants flowed into Boston. It has maintained a position of respect for almost 400 years.

 Identify title of quote:    “Before the trial of this priso…

 Identify title of quote:    “Before the trial of this prisoner, several of her own children had frankly and fully confessed not only that they were witches themselves, but that this their mother had made them so. This confession they made with great shows of repentance, and with much demonstration of truth. They related place, time, occasion; they gave an account of journeys, meetings and mischiefs by them performed, and were very credible in what they said. . . .”

BONUS:  This question will not count against you if you skip…

BONUS:  This question will not count against you if you skip it. Light was measured to have a wavelength of {w} cm.  What is the frequency of the light (in Hz)? c = 3.00 x 108 m/s 1 Hz = 1 s-1 Be careful with your units!!! For full credit, your answer must be: 3 significant figures written in correct scientific notation

In answering the questions below you will not be able to use…

In answering the questions below you will not be able to use subscripts.  Thus CO2 would have be answered as CO2.  What is the formula for antimony(III) chloride? _______ An acid is created from combining the polyatomic ion: XO32- with H+.  What would be the name? XO32- = xarbonate (This is not a real polyatomic ion.) You must include the word ‘acid’ in the name. _______