Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Help with Homework(AP COMPUTER SCIENCE)
Help with Homework [message #760742] Mon, 05 December 2011 01:16 Go to next message
Serge C is currently offline Serge CFriend
Messages: 1
Registered: December 2011
Junior Member
The Mapes Railroad Company pays an annual bonus as a part of its profit sharing plan. This year all employes who have been with the company 10 years or more will receive a bonus of 12% of their annual salary, and those that have been with the company 5 to 9 years received a bonus of 5.75%. Those who have been with the Mapes Company less than 5 years receive no bonus. Write a program that accepts a last name (variable is of type
_> String name;), the annual salary and the number of years employed with the company. Then find and print the bonus. Output should be in the following form:

MAPES RAILROAD CORPORATION

Employee: Kolman
Years of Sercvice: 15
Bonus Earned: $10,000.55

can somebody write code for this??
Re: Help with Homework [message #760747 is a reply to message #760742] Mon, 05 December 2011 03:34 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 12/04/2011 07:16 PM, Serge C wrote:
> The Mapes Railroad Company pays an annual bonus as a part of its profit
> sharing plan. This year all employes who have been with the company 10
> years or more will receive a bonus of 12% of their annual salary, and
> those that have been with the company 5 to 9 years received a bonus of
> 5.75%. Those who have been with the Mapes Company less than 5 years
> receive no bonus. Write a program that accepts a last name (variable is
> of type _> String name;), the annual salary and the number of years
> employed with the company. Then find and print the bonus. Output should
> be in the following form:
>
> MAPES RAILROAD CORPORATION
> Employee: Kolman
> Years of Sercvice: 15
> Bonus Earned: $10,000.55
>
> can somebody write code for this??
Yes, but that would defeat the point of the homework assignment. If you
can't figure out the assignment, perhaps you should meet with your
instructor or TA to get some help.

Getting others to do your work won't cut it in the real world. You need
to be able to do these things on your own.
Previous Topic:How do I install Eclipse 3.7 C++ in ubuntu 11.10?
Next Topic:Specifying the number of rows per page
Goto Forum:
  


Current Time: Fri Mar 29 00:40:32 GMT 2024

Powered by FUDForum. Page generated in 0.10112 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top