Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How would I create this solution algorithm using pseudocode?

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default How would I create this solution algorithm using pseudocode?

    help please, im stuck

    You are a Jr. programmer at AIT Savings and Loan – a newly formed bank by a group of students wanting to make some extra money. 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.

    -- Start program --
    READ User balances of bank accounts
    IF balance is negative
    PRINT You must contact bank’s customer service department
    END IF
    ELSE
    DISPLAY BUTTON Create deposit
    DISPLAY BUTTON Make withdrawal
    DISPLAY BUTTON Transfer money


    i dont know what goes next and is this right so far?

  2. The Following User Says Thank You to meghere For This Useful Post:

    thomas10 (June 7th, 2013)


  3. #2
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 140 Times in 135 Posts

    Default Re: How would I create this solution algorithm using pseudocode?

    One post is more than enough. Two or more and then you're spamming the forum. Locking this duplicate and warning the poster not to do this again.

  4. The Following User Says Thank You to curmudgeon For This Useful Post:

    thomas10 (June 7th, 2013)

Similar Threads

  1. Pseudocode help!
    By mohamed95 in forum Algorithms & Recursion
    Replies: 0
    Last Post: January 13th, 2013, 06:22 PM
  2. Can you help me decipher what these two conditions mean in pseudocode?
    By divebomb33 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: November 2nd, 2012, 07:49 PM
  3. pseudocode tutorials
    By pascal in forum Java Theory & Questions
    Replies: 2
    Last Post: July 30th, 2012, 01:19 AM
  4. Need help with pseudocode please
    By nomss in forum Algorithms & Recursion
    Replies: 2
    Last Post: May 18th, 2011, 03:50 AM
  5. Replies: 4
    Last Post: February 23rd, 2011, 09:20 AM