Question: write code in java programming? 3. Write a method named dimesToDollars (must have static access modifier). The method should accept an intargument that is a

write code in java programming?
3. Write a method named dimesToDollars (must have static access modifier). The method should accept an intargument that is a number of dimes (ten-cent coins), and return the equivalent number of dollars as a double. For example, if you pass 10 as an argument, the method should return 1.0, and if you pass 12 as an argument, the method should return 1.20. Then call this method 3 times (ones with argument 10, then with 12), then with argument value of your choice, and output the result. Format the output to 2 decimal points. Console output example:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
