View Single Post
  #2 (permalink)  
Old 05-09-2008, 02:38 AM
Nine0joe Nine0joe is offline
Member
 
Join Date: May 2008
Posts: 4
Nine0joe is on a distinguished road
Also i need to know where to find the toolkits. This is an assignment for school and i downloaded ecplise, but cannot find toolkits so i can use keyboardreader, and this is what i have so far i dont know how to finish it
Code:
public class Projects { public static void main(String[] args) { KeyboardReader temp = new KeyboardReader(); double V; List<Double> valueList = new ArrayList<Double>(); // You can store the values in here While (V = temp.readdouble("Enter a Value of 2 or more: ") ); { if (V >2){ valueList.add(V); // just added the value to a list } else { System.out.println("Value must be of 2 or more, Please restart the program!!"); } } } }
Reply With Quote