PSX5Central

Non Gaming Discussions => Off-Topic => Topic started by: soundifound on March 01, 2005, 11:34:37 AM

Title: need help with some java
Post by: soundifound on March 01, 2005, 11:34:37 AM
so i recently started and need to figure out this problem.  I need to make a  java app that takes an input (int) and a character (*) and makes a diamond shape, with the int value as the middle of the diamond and decreasing by 2 as it goes up and down.  it needs to be done using some kind of loop.  any help?

it should look something like this (without the - because it won\'t display correctly without it:

   
     
---*
--***
-*****
*******
-*****
--***
---*
Title: need help with some java
Post by: THX on March 01, 2005, 01:31:36 PM
coding scares me. bump4u