The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
SCJP 1.4
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
SCJP 1.4
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
SCJP 1.4
Originally posted by BarC Di:
thanks thanks!! but what if I want to switch the right angle to the other side of the triangle, what should I do?
And let's say I only want 10 rows instead of the 26, can I program it that way... I mean let' say I pick a number randomly, the program will display the number of rows I want?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
Of course you can! Do you see where the number of lines is encoded in the above code?
Originally posted by BarC Di:
um....yah?so what do I have to do to let to the codes?sorry I am completely new and really can't do this to save my life...![]()
so in order to let the program display wat ever number I choose i have to change the code?
Let's say I want to have a program that goes:
java alp 20 and it displays 20 lines
and then when I type
java alph 15 it will display 15
up to 26 and anything beyond will exceed and not run.. is that possible?
and how can I change the spacing for the program to shift the right angle to the right side instead??
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
SCJP 1.4
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |