David Delgado

Greenhorn
+ Follow
since Sep 19, 2010
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 David Delgado

Thank you Uff, that solved my problem.
12 years ago
Thank you for replying. So then I need to put if statements inside my check N/W/S/E loops to check if the program returned true?? That's what I was thinking of earlier this morning but wasn't sure. Should I use a local variable to keep track of the boolean?
12 years ago
Sorry,

Actually it was meant to be canFindPath (I changed name). I'm making recursive calls to itself.
12 years ago
Solved, thank you!
12 years ago
Hello everyone, I need some help here. So this program takes an input file that I will post at the bottom with ints.

Assignment: Write a program that inputs a list of numbers that are arranged into groups of various sizes. The program outputs the sum of the numbers in each group. Each group starts with a one-line descriptive phrase. The phrase can be anything that is not a number. Some groups may have zero number in them.

Problem: Everything runs fine at first and I get my first group sum of -44 which is correct but then i get this
I'm getting an StringIndexOutOfBoundsException String index out of range: 0 at java.lang.String.charAt(unknown source)




Input file:

Group A
23
-12
29
-84
Group B
-2
-45
-90
123
26
19
-5
-30
9
Group C
Last Group
12
-34
23
47
52
8

Solution should be:

Group 1
Sum = -44

Group 2
Sum = 5

Group 3
Sum = 0

Group 4
Sum = 108

13 years ago
Hello everyone,

A little about myself. I'm a 24 year old American English teacher living in Asia. I have a degree in English from a reputable state university. I took a lot of computer classes in high school, so dabbled in C++ quite a few years ago. I've recently been teaching myself Java, overall I'd say I know about as much as someone who has taken 2 semesters of university classes. Anyways I'm interested into changing careers(not right away of course), is this possible with no formal training or schooling?

If you weren't an IT major, how did you break into that first job? Did you know someone? Did you get certs? Even people who did not go that route but have any advice please respond. I'd like to back to school but that would put a huge financial strain on me. But if that's the only way to get a decent first job in the field I may save and scrape up what I can and get ready for a diet of ramen noodles. Please let me hear your two cents.

Thanks!



13 years ago