Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanner myinput = new Scanner(System.in);
- // TODO code application logic here
- String[] myList = new String[10];
- myList[0] = "5.6";
- myList[1] = "4.5";
- myList[2] = "3.3";
- myList[3] = "13.2";
- myList[4] = "4.0";
- myList[5] = "34.33";
- myList[6] = "34.0";
- myList[7] = "45.45";
- myList[8] = "99.993";
- myList[9] = "11123";
- int length = myList.length;
- for (int i = 0; i<length; i++){
- System.out.println(i + ". " + myList[i]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement