Question: in Java please .. P5.2 Write a method public static double readDouble(String prompt) that displays the prompt string, followed by a space, reads a floating-point

in Java please
.. P5.2 Write a method public static double readDouble(String prompt) that displays the prompt string, followed by a space, reads a floating-point number in, and returns it. Here is a typical usage: salary = readDouble("Please enter your salary:"); percentageRaise readDouble("what percentage raise would you like?")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
