Results 1 to 4 of 4
- 04-16-2012, 08:38 PM #1
Member
- Join Date
- Apr 2012
- Location
- accra, ghana
- Posts
- 2
- Rep Power
- 0
please, i need help to solve this program .
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 dadacmembers 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.
- 04-16-2012, 08:43 PM #2
Re: please, i need help to solve this program .
Did you have an actual question, or were you just sharing your homework assignment? Do you want to see mine?
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 04-16-2012, 08:54 PM #3
Member
- Join Date
- Apr 2012
- Location
- accra, ghana
- Posts
- 2
- Rep Power
- 0
Re: please, i need help to solve this program .
if you can help, i will be very grateful
- 04-16-2012, 09:34 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,397
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
plzz help me to solve this program
By Gayathri12 in forum New To JavaReplies: 2Last Post: 07-20-2010, 05:15 PM -
plz help solve dis program 4 me plz plz
By jitun2004 in forum New To JavaReplies: 6Last Post: 04-15-2009, 04:39 AM -
Solve my program
By Mika in forum New To JavaReplies: 7Last Post: 01-21-2009, 06:20 AM -
how to solve capital country program in java applet
By shadab in forum AWT / SwingReplies: 2Last Post: 08-27-2008, 02:40 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks