User Profile

Collapse

Profile Sidebar

Collapse
jshwille7688
jshwille7688
Last Activity: Mar 24 '08, 09:21 PM
Joined: Mar 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jshwille7688
    replied to help please
    in Java
    ok i dropped the idea of having the diamond in the window and i was wondering if i some how could decide on any symbol besides the * heres my new code:

    public class diamonds
    {
    public static void main(String[] args)
    {
    int max_width = new Integer(args[0]).intValue();
    int width=max_width % 2 == 0? max_width/2: max_width/2 +1;
    String symbols="****** *************** *************** **********";...
    See more | Go to post

    Leave a comment:


  • jshwille7688
    started a topic help please
    in Java

    help please

    I have this assignment it prints out to a window but it all print out on 1 line

    it should be in shape of a diamond but it looks like this:
    **** *
    import avi.*;

    public class diamonds
    {
    public static void main(String[] args)
    {
    Window screen = new Window("diamond s.java","bold", "blue",18);
    screen.showWind ow();

    ...
    See more | Go to post
No activity results to display
Show More
Working...