Program 1

A Salesperson at a company receives a set salary each month plus commission based on the number of products sold during the month.

Create a Payroll program that can do the following
1. Enter the Salesperson’s name, employee number and basic monthly salary.
2. Enter the number of products sold that month
3. Calculate the commission and add the amount to basic monthly salary
4. Display the salary information

Program 2

Create an application to simulate a game of Pontoon.
A player is dealt two playing cards and the computer computes the total value. The player can stick or ask for more cards. If the total value of the cards is over 21, the player has lost.
The computer takes a turn and the player who has the score closest to 21 wins.

Program 3

A Bank offers three types of loans as follows.
1. Fixed interest. At the end of each month a fixed percentage of the balance is added to the amount owed after the customer has made a payment to reduce the balance.
2. Variable interest. At the end of each month a different amount of interest is added to the amount owed, after the customer has made a payment, depending on how much the customer owes.
3. Quarterly Bonus. Interest is only calculated in January, May, August and December. The customer will pay a slightly higher interest than the Fixed interest account.

The program will be able to do the following
1. retrieve the customer’s balance, name and account number.
2. make repayments to the account
3. calculate interest on the amount owing and update the account.

It is expected that the program will demonstrate inheritance.

peter_budo commented: and you want to be a programmer? -1
jasimp commented: We don't do your homework for you. -1

Recommended Answers

All 7 Replies

Not important to us. And, seemingly, not important to you either, or you'd have at least something to show for it.

hahaha.. no one will help you. I hope you fail.

I'll get right on it. It'll take me a couple of days, so I should be done on Thursday. Post your email address, and I'll send it to you.

Check deitel and deitel volume 1, If I remember it correctly , there is one example which is simmilar to your project assignment.

I'll get right on it. It'll take me a couple of days, so I should be done on Thursday. Post your email address, and I'll send it to you.

hello if you do it ı will be happy very much
and ı will never forget it
my mail is <snipped email>

commented: Do it yourself -1

He was being sarcastic. He was hoping you would be stupid enough to take him seriously and you did. Your post was rude and with it you tried to make us your own programming slaves. We will not do your homework for you.

We will however tell your teacher exactly how good you are and what your grade should be if you just give us his email address.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.