Let's practice writing some Java methods and refresh our programming skills!
Practice 1: Need a 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. Need a 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.