class Marathon { public static void main (String[] arguments) { String[] names = { "Elena", "Thomas", "Hamilton", "Suzie", "Phil", "Matt", "Alex", "Emma", "John", "James", "Jane", "Emily", "Daniel", "Neda", "Aaron", "Kate" }; int[] times = { 341, 273, 278, 329, 445, 402, 388, 275, 243, 334, 412, 393, 299, 343, 317, 265 }; for (int i = 0; i < names.length; i++) { System.out.println(names[i] + ": " + times[i]); } } }
Java Tutorial, Java Study, Learn Java, Java Lab@home, Java Cycle test, Java Projects, Java Assignments, Java Notes and much more..
Friday, 7 July 2017
Marathon Assignment in java ~ foundjava
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment