Joana Silva

Greenhorn
+ Follow
since Feb 28, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joana Silva

hi I have this arraylist ArrayList<String> orca = new ArrayList<String>();

Each index contais this:

###########################
#...........O.............#
#.######.R######.H#######.#
#.#......#...........#....#
#O###....#...........#....#
#.#.....G#...........#....#
#.#.....O.######.....#....#
#.................B....O..#
###########################

How can I deleteeverything besides # ?
14 years ago
hello , so I have String[][] tmp = new String[800][800];

how do I feel him without the manual [0][0]?
15 years ago
I will have to convert the ones with numbers to a int so i can calculate the average from the second column of those wihout Letters and I dont need to read from a file I just copy past the input file on console
15 years ago
I forgot to mention that the input file has Chars and number on the seconds column so I have to use a string



this is my code so far :




This is the output [18690 I, 18745 10, 18971 I, 19005 11, 19015 6]

I want to store the data in two columns like in a bidimentional array and do math operations with the second column.
15 years ago
hello its my first post

I have this input file style



where I add them to a string and I need to save them in any type of structure just like that alignment with 2 columns, so what would my best structure choice and how to do it ?
I thought of using ArrayList but no Idea how to do it.
15 years ago