# Very Beginner Questions. Need Help Please :/

• February 8th, 2014, 09:44 PM
davidanthony129
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.
• February 9th, 2014, 12:40 AM
GregBrannon
Re: Very Beginner Questions. Need Help Please :/
Did you mark the thread solved? Are you done with it then?
• February 9th, 2014, 01:09 AM
davidanthony129
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.
• February 9th, 2014, 01:21 AM
GregBrannon
Re: Very Beginner Questions. Need Help Please :/
Not necessary, especially if it's not yours. Better luck writing your own next time.