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 5 of 5

Thread: please help me with my assignment, i got stuced on the way.

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default please help me with my assignment, i got stuced on the way.

    Questions One.
    The management of Accra Polytechnic has decided to introduce a new salary scheme for its faculty. In the Policy,
    bonus is base on the fact that one is a senior staff or junior staff. You have been call in as a programmer to
    develop a software to meet this policy`s requirement: Your task has been broken down in the as follow.
    a) Creaate a class called Sallary.
    b) Create method that will calculate.
    c) The tax which is 5% of the gross salary.
    d) Bonus depending on the status of employee-senior/junior
    i. Senior staff-1 hour-50 pounds
    ii. Junior staff-1 hour-20 pounds
    iii. Net Salary - Bonus+gross salary-tax.
    e) Create another class called SalDemo with the main funtion.
    f) Declare an instance of the salary class called Sal.
    g) Use the cal project to check the net salary.
    h) Use scanner class to allow a user to enter the status, time and the gross salary.

    Question two
    At United Standard Bank limited, a customer should be able to deposit money, withdraw money and check
    his-her balance. You have been approached to develop a system for the USB bank.
    Required:
    a) Create a class call customer.
    b) The balance of the customer should be 1000 pounds
    c) Create methods for the deposit, withdrawal and checking of balance transactions.
    Use the appropriate data members to help you accomplish this.
    d) Create another class called Bank within the main function.
    e) Declare an instance of the Customer class called Cust.
    f) Use the Cust object to check the current balance.
    g) Use scanner to allow a user enters a deposit. The program should display new balance.
    h) Use the Scanner to allow the user to place a withdrawal amount. The program should display the new balance.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: please help me with my assignment, i got stuced on the way.

    Did you have a question, or did you just want to share homework assignments? Do you want to see mine?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: please help me with my assignment, i got stuced on the way.

    KevinWorkman
    please if you can help. please do, because i only got 18 hours before the dead line. please i beg u.

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: please help me with my assignment, i got stuced on the way.

    I recommend you read the link in my signature on asking questions the smart way before you post again. Simply dumping your homework here is not acceptable.

    Recommended reading: http://www.javaprogrammingforums.com...e-posting.html
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    Junior Member
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: please help me with my assignment, i got stuced on the way.

    ok man i will try my hands on it later. thank you very much 4 ur post.

Similar Threads

  1. Really need help on assignment
    By coorscollector in forum Java Theory & Questions
    Replies: 2
    Last Post: January 16th, 2012, 06:08 PM
  2. Assignment help
    By hws in forum Java Theory & Questions
    Replies: 1
    Last Post: December 30th, 2011, 12:14 PM
  3. assignment troubles polymorphism (guide for assignment included)
    By tdawg422 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 8th, 2011, 10:01 AM
  4. Assignment
    By Polly2010 in forum Java Theory & Questions
    Replies: 3
    Last Post: November 30th, 2010, 03:42 PM
  5. Replies: 1
    Last Post: February 22nd, 2010, 08:20 AM