Dan+Ritter

import java.util.Scanner; //import scanner//

//public class MilesToKilometers {// public= used outside class, Kilometers-miles is only class used /**MilesToKilometers.java converts Miles to Kilometers


 * @author Daniel Ritter



public static void main(String[] args) { //Main method, static= main//  invoked by sending message to class, void=returns nothing to invoker, makes args (varible capapable of storing an array of string values

//TODO Auto-generated method stub//

//Scanner keyboard = new Scanner (System.in) ; ////tells the program to take in information from the keyboard using the scanner utility

System.out.print ("Enter the number of miles"); ////displays enter the number of miles//

//double Miles = keyboard.nextDouble ; ////says that the next number entered through the keyboard= miles

double kilometers = Miles*1.6; ////says kilometers = miles*1.6//

//System.out.printf("%n kilometers : %7.2f", kilometers) ; //// tells the user the number of kilometers

} }