Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

>> REGISTER NOW TO START POSTING

# Thread: Very Beginner Questions. Need Help Please :/

1. ## Very Beginner Questions. Need Help Please :/

Hopefully these haven't been answered before, but honestly I didn't even know what to search for. I am a beginner beginner beginner, and I can't stress that enough. I'm in my second week of an 8 month series with no prior programming knowledge whatsoever. The concepts have made sense thus far - it's just remembering the math needed that's been most time consuming ( just turned 30, it's nowhere near fresh in my mind ).

That being said, I'm completely stuck like chuck on a few exercises, and need help. These aren't graded assignments or anything, just suggested activities. So I'm not necessarily just looking for the code so I can run along with it, but I AM a visual learner and usually learn best when I can see something paired with the problem to put two and two together.

Whew. Okay.

The first one I'm struggling with involves:

having the user enter 2 words,
print both words on one line,
separating the 2 words with enough dots so the total character length is 30.

I know I need to use a System.out.println(".") inside a loop body but I have no idea how, and the related chapter does nothing to explain this.

The second exercise involves:

having the user input an integer,
we then ask the user for THAT amount of integers and then find the sum, i.e.

How many integers will be added?
5
Enter an integer:
1
Enter an integer:
2
Enter an integer:
3
etc, etc.

Once again, the related chapter has no examples of how to perform this aside from use a counting loop.

I was going to ask about 1 more exercise, but this is a lot for one post, so I may wait until I can grasp the ideas and concepts behind these two.

Thanks in advance for any help at all! I need every bit I can get, for fear of falling behind so early in this series of classes is getting to me.

2. ## Re: Very Beginner Questions. Need Help Please :/

Did you mark the thread solved? Are you done with it then?

3. ## Re: Very Beginner Questions. Need Help Please :/

yes I marked it solved. I had some help and got it figured out. you can delete the thread or if I should post the code (albeit not mine) I can do that for future reference.

4. ## Re: Very Beginner Questions. Need Help Please :/

Not necessary, especially if it's not yours. Better luck writing your own next time.