Results 1 to 10 of 10

Thread: programming

  1. #1
    shazeb is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default programming

    hi,
    can any one help me to write a pyramid code.

  2. #2
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    I have homework too, who can I send the assignment to so he'll solve it without me making an effort?
    Ever seen a dog chase its tail? Now that's an infinite loop.

  3. #3
    shazeb is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    i am new to this am learning u cant encourage then u dont comment ok.
    thanks for ur reply .

  4. #4
    shazeb is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    can any one tell me why my array is comming in a line why not a matrix look like what should i do for it ?.

  5. #5
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,021
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by shazeb View Post
    can any one tell me why my array is comming in a line why not a matrix look like what should i do for it ?.
    Beats me; we don't know what nasty things you're doing on your computer; we don't want to know either because it doesn't work. Jeez, what do you expect? That we are psychic?

    kind regards,

    Jos

  6. #6
    shazeb is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    just chill am a house wife and trying to learn java by myself if i ask u people is it wrong coz u people are senior in this language so i thought that it would be easy for me if i join this .
    sorry for interrupting you people and thanks for your great replys.

  7. #7
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,021
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by shazeb View Post
    just chill am a house wife and trying to learn java by myself if i ask u people is it wrong coz u people are senior in this language so i thought that it would be easy for me if i join this .
    sorry for interrupting you people and thanks for your great replys.
    Don't be unreasonable: you don't give us any information about your attempts to code something but want us to help you fix your mistakes? How do we know how to help you and with what? It's all about the details (which you didn't show us).

    kind regards,

    Jos

  8. #8
    shazeb is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    ok this is what i'm supposed to do:
    Write a program array two dimension m[2][3]
    and out is like this
    1
    9
    9
    8
    but i want it to come like this
    1 9
    9 9
    I don't have any idea onon this, any help would be appreciated.

  9. #9
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,021
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by shazeb View Post
    ok this is what i'm supposed to do:
    Write a program array two dimension m[2][3]
    and out is like this
    1
    9
    9
    8
    but i want it to come like this
    1 9
    9 9
    I don't have any idea onon this, any help would be appreciated.
    Your example doesn't make any sense: your array/matrix contains 2x3 == 6 numbers but you only print four numbers (they're different in both your printout examples). It's the details that are important in those trivial little problems.

    kind regards,

    Jos

  10. #10
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    Quote Originally Posted by JosAH View Post
    Don't be unreasonable: you don't give us any information about your attempts to code something but want us to help you fix your mistakes? How do we know how to help you and with what? It's all about the details (which you didn't show us).
    And you're still not showing us your code. As has already been mentioned above, we're not psychic, and without seeing your well formated code (with code tags), we'll never understand what mistakes you're making.

Similar Threads

  1. New to Programming!!HW Help!
    By Bgreen7887 in forum New To Java
    Replies: 13
    Last Post: 10-16-2010, 02:43 AM
  2. new to programming need help with something
    By surg3y3 in forum New To Java
    Replies: 4
    Last Post: 01-26-2010, 03:13 AM
  3. GUI Programming Help
    By sirwiggles in forum New To Java
    Replies: 4
    Last Post: 04-28-2009, 04:53 AM
  4. New to Programming . . .Need Help
    By DSutta22 in forum New To Java
    Replies: 2
    Last Post: 09-10-2008, 05:19 AM
  5. programming
    By abcdefg in forum New To Java
    Replies: 9
    Last Post: 03-10-2008, 10:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •