Question: rnniing Exercise S Instructions Percentages2.java 1 public class Percentages2 Modify the Percentages class to accept the values of the two doubles from a user at

rnniing Exercise S Instructions Percentages2.java 1 public class Percentages2 Modify the Percentages class to accept the values of the two doubles from a user at the keyboard. 3 public static void main (String args[]) 4 double num1-2.0, num2 5.0; computePercent (num1, num2); computePercent(num2, num1); 6 Grading 8 Write your Java code in the area on the right. Use the Run button to compile and run the code. Clicking the Run Checks button will run pre-configured tests against your code to calculate a grade Once you are happy with your results, click the Submit button to record your score. 9public static void computePercent(double x, double y) I Modtfy the code below System.out.println(xis"(x/ y) 100percent of" y) 12 13 14 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
