@@ -0,0 +1,736 @@
+  1 import java.util.Scanner;%0A  2 %0A  3 public class TravelCosts%7B%0A  4         public static void main(String %5B%5D args)%7B%0A  5                 double distance,time;%0A  6                 String str;%0A  7                 Scanner in = new Scanner(System.in);%0A  8                 System.out.println(%22Enter Distance: %22);%0A  9                 distance = in.nextDouble();%0A 10 %0A 11                 System.out.println(%22Enter Time: %22);%0A 12                 time = in.nextDouble();%0A 13 %0A 14                 System.out.println(%22Speed: %22+(distance/time));;%0A 15                 System.out.println(%22Enter the String :%22);%0A 16                 str = in.next();%0A 17                 System.out.println(%22The entered String is : %22+str);%0A 18 %0A 19         %7D%0A 20 %0A 21 %7D%0A

Create TravelCost.java