Question: create the java program methods of the following such that : readString(String) -> String Displays the received String as a user prompt, returns the String
create the java program methods of the following such that :
readString(String) -> String Displays the received String as a user prompt, returns the String input by the user.
readDouble(String) -> double Displays the received String as a user prompt, returns the double input by the user.
calcSalary(double, double) -> double Calculates and returns the projected salary, with the received current salary and the received percentage raise.
displayResults(String, double, double, double) Displays the received name, current salary, percentage raise, and projected salary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
