Let’s practice writing some Java methods and refresh our programming skills!
Let’s practice writing some Java methods and refresh our programming skills!
/>
Practice 1
Write program that accepts a distance in kilometers, sends it to a method which converts it to miles, and then displays the result. The formula for conversion is Miles = Kilometers * 0.6214
Practice 2
Insurance companies suggest that people should insure a building for at least 80 percent of the cost to replace it. Write program that accepts the cost of a building, sends it to a method which calculates the recommended insurance, and then displays the result in a currency format.
i need help solving this please using NetBeans.