Image

Imagejulisana wrote in Imagejava_dev 😡frustrated

Listens: Tool - Sober

hi!

Man, i feel so silly posting in here about my intro-level Java class, because I'm new, and all of you seem to know so much more than I do! ^_^ Anyway, enough with the cute faces.

Anyway, I'm having a problem with one of my assignments. This is one of the first times I've really had to ask for help with this class, so I feel kinda akward doing so...


Alright. This is our first real assignment using methods. The concept is pretty easy, to me anyway. We're supposed to create the alphabet using the * symbol. It's not too terribly complicated, just time consuming.

Anyway, we're supposed to make the letters look more than just block letters...so we have to use diagnoals when needed and stuff like that.

Example 1: X - width = 10; height = 10 (first line blank)
** the "_" replaces the spaces...

0:
1:*________*
2:_*______*_
3:__*____*__
4:___*__*___
5:____**____
6:___*__*___
7:__*____*__
8:_*______*_
9:*________*

My question, basically, is how would I create a method to give me the spaces along the left-hand/right-hand side of the letter...

Here's what I have so far by way of lines I'm using to create the letters, and here's the letters I have created right now.

Thanks in advance!