Hello

Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: need help with some java  (Read 499 times)

Offline soundifound
  • Disconnected
  • Hero Member
  • *****
  • Posts: 808
  • Karma: +10/-0
need help with some java
« 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:

   
     
---*
--***
-*****
*******
-*****
--***
---*
Perspective pries your once weighty eyes and it gives you wings

Offline THX
  • nigstick
  • Legendary Member
  • ******
  • Posts: 8158
  • Karma: +10/-0
need help with some java
« Reply #1 on: March 01, 2005, 01:31:36 PM »
coding scares me. bump4u

\"i thought america alreay had been in the usa??? i know it was in australia and stuff.\"
-koppy *MEMBER KOPKING FANCLUB*
\"I thought japaneses where less idiot than americans....\" -Adan
\"When we can press a button to transport our poops from our colon to the toilet, I\'ll be impressed.\" -Gman

 

SMF spam blocked by CleanTalk