Question: Income Tax Calculator PURPOSE : Practice using compound conditions Practice using loops Practice using abbreviated incrementors Practice using methods Practice using images Requirements P2: Your

Income Tax Calculator

PURPOSE:

  • Practice using compound conditions
  • Practice using loops
  • Practice using abbreviated incrementors
  • Practice using methods
  • Practice using images

Requirements P2: Your program MUST include each of the following items.

P2-1. At least one compound condition (AND, OR or NOT). You can use one of them, you do not need to use all of them.

P2-2. An Error-Validation loop.

P2-3. At least one other loop (in addition to the error-validation loop).

P2-4. At least one abbreviated incrementor (count++)

P2-5. At least one method. This method is to be written by you. It must receive an argument and return a value. This method must be located in the SAME class file as your project program. I cannot manage multiple files when I test your program.

P2-6. Display at least 1 image. You will need to upload this image along with your .java file, when you submit to Canvas otherwise, I will not be able to display your image when I run your program. NOTE: You MUST name your image as pic1.jpg or I will not be able to view it. See "ImageExample" in the Canvas module named "JAVA CODE EXAMPLES FROM PROF. EICHERS".

P2-7. You must comment your code, as we do in class.

P2-8. Add another feature you want to include that is not on this requirement list. This needs to be something NEW that you have learned on your own, outside of class. Be creative.

NOTE: For each requirement, you MUST include a comment that identifies which requirement you are completing. This is so that I can find your code when I am grading.

Submission: Required Material to be Submitted to Canvas

  1. A copy of your Java source code (.java or .txt)
  2. Your Image file

I should be able to COPY your code, PASTE it into Eclipse and run it.

If you code does not compile and run, I will return it to you without grading and ask you to fix and re-submit it.

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 Programming Questions!