Java, i need it within 4 hours.
1- (Employee Class) Create a class called Employee that includes three instance variables—a first name (type String), a last name (type String) and a monthly salary (double). Provide a constructor that initializes the three instance variables. Provide a set and a get method for each instance variable. If the monthly salary is not positive, do not set its value. Write a test app named EmployeeTest that demonstrates class Employee’s capabilities. Create two Employee objects and display each object’s yearly salary. Then give each Employee a 10% raise and display each Employee’s yearly salary again.
2-
- (Sales Commission Calculator) A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, salesperson who sells $5,000 worth of merchandise in a week receives $200 plus 9% of $5000, or total of $650. You’ve been supplied with a list of the items sold by each salesperson. The values of these items are as follows:
- Item Value
- 1 239.99
- 2 129.75
- 3 99.95
- 4 350.89
- Develop a Java application that inputs one salesperson’s items sold for last week and calculates and displays that salesperson’s earnings. There’s no limit to the number of items that can be sold.
10 years ago
3
Answer(0)
Bids(0)
other Questions(10)
- FIN 415 week 1-5 Complete COURSE A++ 100%
- BCOM 475 Week 5 Team Assignment Strategic Communications Plan
- Moneyball
- in 150 words
- QUESTION IN UPLOADED INFO
- SOC 304 Week 1-5 Complete A++ work !!!
- NTC 241 Week 5 Final Wireless Network Types
- What is the best explanation to why granite pebbles are found on the surface in a certain area where only...
- Engineering - Materials
- Help with Data Driven Assignment