Results 1 to 12 of 12
  1. #1
    neg
    neg is offline Member
    Join Date
    Feb 2013
    Posts
    5
    Rep Power
    0

    Default Can someone help me with this java program? im confused

    I've been working on this for hrs, and i am having problems with
    Last edited by neg; 02-13-2013 at 06:36 PM.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    Default Re: Can someone help me with this java program? im confused

    If you want help, you'll have to post an SSCCE that demonstrates exactly what you're doing, as well as any errors or exceptions you get. It's pretty impossible to help you given the vague information you've given us, so I suggest reading the link in my signature on asking questions the smart way. Posting your assignment and saying that your program doesn't run isn't really how this works.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    neg
    neg is offline Member
    Join Date
    Feb 2013
    Posts
    5
    Rep Power
    0

    Default Re: Can someone help me with this java program? im confused

    in all honesty, im lost even from the beginning. I'm new to java. If you can or someone point me in the right direction from the beginning, i'll figure out the rest or something.

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    Default Re: Can someone help me with this java program? im confused

    Then the best I can offer you is this: Starting Writing a Program

    Break your problem up into much smaller pieces. What's the very first thing you know you need to do?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    neg
    neg is offline Member
    Join Date
    Feb 2013
    Posts
    5
    Rep Power
    0

    Default Re: Can someone help me with this java program? im confused

    ae4t45twryryhryh
    Last edited by neg; 02-13-2013 at 06:38 PM.

  6. #6
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    Default Re: Can someone help me with this java program? im confused

    Does that code compile?

    Starting with the basic tutorials is probably a good idea: The Java™ Tutorials
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    neg
    neg is offline Member
    Join Date
    Feb 2013
    Posts
    5
    Rep Power
    0

    Default Re: Can someone help me with this java program? im confused

    ghrdtdryhjtydjtyjyujy
    Last edited by neg; 02-13-2013 at 06:36 PM.

  8. #8
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Can someone help me with this java program? im confused

    When posting code please wrap your code in [code] tags [/code] so it retains its formatting.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  9. #9
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    Default Re: Can someone help me with this java program? im confused

    The OP has replaced the assignment text dump and code he posted earlier with gibberish text. I would bet he got caught trying to get help with a class assignment and is trying to cover his tracks?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  10. #10
    neg
    neg is offline Member
    Join Date
    Feb 2013
    Posts
    5
    Rep Power
    0

    Default Re: Can someone help me with this java program? im confused

    no, i gave up

  11. #11
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,783
    Blog Entries
    7
    Rep Power
    21

    Default Re: Can someone help me with this java program? im confused

    Don't remove your original text in your own replies; now this thread is completely useless to anybody; I'm closing this thread.

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  12. #12
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: Can someone help me with this java program? im confused

    Lets make it a teensy bit less useless. Here are the removed posts:

    I've been working on this for hrs, and i am having problems with the entire thing. i can't seem to get the program to run. i have a bunch of errors. I'm using the import javax.swing.JOptionPane


    problem:
    You are a programmer at a Savings and Loan bank. The bank offers a number of services including checking accounts, savings accounts, credit cards, and home mortgages. You have been asked to write a program that helps with transaction processing associated to checking and savings accounts. In the program, you will ask for the initial balances of the bank accounts (checking and savings). If either of the initial balances is negative, you must inform the customer they should contact the bank’s customer service department. Once the balances have been gathered, the user may perform one of the following actions: make a deposit to one of the accounts, make a withdrawal from either account, or transfer money from one account to the other. The user must be able then specify the dollar amount for the transaction. Of course, if any transaction would overdraw an account, it should be rejected. Once the transaction is complete, the user should be informed of the balances of both accounts.
    import javax.swing.JOptionPane;

    public class Bank {
    public static void main(String [] args)
    {
    initial = Double.parseDouble(JOptionPane.showInputDialog (“ initial_balances” ));
    Double checking;
    Double saving;
    Double credit_cards;
    Double home_mortgages;

    THREAD CLOSED
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Simple Bank Account Program - Completely Confused
    By Interista in forum New To Java
    Replies: 4
    Last Post: 11-02-2011, 03:12 AM
  2. A little confused by this tiny program...
    By N00Bie in forum New To Java
    Replies: 3
    Last Post: 07-21-2011, 02:42 PM
  3. HELP!!! Completely confused on how to fix this program!!!
    By BeginnerJava in forum New To Java
    Replies: 17
    Last Post: 06-13-2011, 12:59 AM
  4. Confused on how to start this Math program
    By gnng in forum New To Java
    Replies: 3
    Last Post: 04-16-2011, 01:14 AM
  5. New to Java and very confused.
    By larson1118 in forum New To Java
    Replies: 1
    Last Post: 04-08-2011, 07:27 PM

Posting Permissions

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