/* ID: stud1 LANG: JAVA PROG: template */ import java.io.*; // supports RandomAccessFile & PrintWriter import java.util.Scanner; // supports input with Scanner class class template { public static void main (String [] args) throws IOException { // ======== Open channels to input and output files. ============ Scanner in = new Scanner (new File("template.in")); PrintWriter out = new PrintWriter( new BufferedWriter( new FileWriter("template.out"))); // ============================================================= int myInt = in.nextInt() ; double myDouble = in.nextDouble() ; String s = in.nextLine(); // gets entire line String[] token = s.split(" ") ; // breaks line into array of Strings for (int i=0; i