Question: 1. Write an application that inputs three numbers (integer) from a user. (40 pts) UPLOAD Numbers.java a. display user inputs b. determine and display the

1. Write an application that inputs three numbers (integer) from a user. (40 pts) UPLOAD Numbers.java a. display user inputs b. determine and display the number of negative inputs c. determine and display the number of positive inputs d. determine and display the number of zero inputs e. determine and display the number of even inputs f. determine and display the number of odd inputs.

2.Create a class called Customer that includes three private instance variables a first name (String), a last name (String), and a credit limit (double). (30 pts) UPLOAD Customer.java a. Provide a constructor that initializes these three instance variables. Validate credit limit; it must be greater than 0.0. b. Provide set and get methods for each instance variable. Validate credit limit; it must be greater than 0.0. Write a test application named CustomerTest that demonstrates class Customerss capabilities. (30 pts) UPLOAD CustomerTest.java a. Create two Customer objects. b. Display each customers first name, last name, and credit limit. For doubles, display two integers after the decimal point. c. Then, raise each customers credit limit by 20%. d. Display each customers first name, last name, and credit limit again. For doubles, display two integers after the decimal point.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!