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 Customers’s capabilities. (30 pts) UPLOAD CustomerTest.java a. Create two Customer objects. b. Display each customer’s first name, last name, and credit limit. For doubles, display two integers after the decimal point. c. Then, raise each customer’s credit limit by 20%. d. Display each customer’s first name, last name, and credit limit again. For doubles, display two integers after the decimal point.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
We are here to help you