Student Name: enter your name here Class-Section: enter your section number here Date: enter the creation date here Plan Template V2 Plan for PA 1. Program Purpose: Input Processing Output 2. Class...

Java coding


Student Name: enter your name here Class-Section: enter your section number here Date: enter the creation date here Plan Template V2 Plan for PA 1. Program Purpose: Input Processing Output 2. Class Diagram: Class Name Class Data Members Method Data Members Methods 3. Program Logic: import Stmts: import NameOfClass Class Header: public class NameOfYourClass Class Variables (Fields): Refer to the Class Data Members section of the class diagram for a list of class-level variables which should always be private (-). METHOD LOGIC TABLE ?Recopy for each method in your program. Method Purpose: Method Header Method Variables CODE Prompts Input Variables Input Prompt Calculations Formulas Print Output Algorithms IS 2033 ©Linda Shepherd, Dept. of ISCS, COB, UTSA IS 2033 - PA1 ASSIGNMENT TOTAL POINTS: 100 DUE: June 19, 2020 BY 11:59 PM Do not submit code that doesn’t compile, run, or generate correct output. PLAN GRADE DUE: June 18, 2020 BY Last Open Tutoring Session on Due Date PLAN TO BE GRADED AT OPEN TUTORING NO LATER THAN THE LAST OPEN TUTORING SESSION ON DUE DATE. DO NOT WAIT till the last day; OTHERWISE, YOU WON’T GET A GRADE!!! ALL OR NOTHING. 10% OF GRADE. READ CAREFULLY "ALL" THE INSTRUCTIONS!!! UTSA HONOR CODE: As a UTSA student, you are bound by the honor code, so DO NOT cheat on any of your coursework. By submitting this assignment, you are attesting to your own authorship based on material from the IS 2033 textbook and/or your professor. Cheating can result in any one, or combination, or all of the following: reduced or failing grade for the assignment, a signed statement of the infraction, reduced or failing grade for the course, reporting of student name to the Department Chair and faculty, Dean’s Office and COB faculty, and/or elevation to Student Conduct and Community Standards. OBJECTIVE (this is not the program purpose): Code a program that uses the concepts covered in chapters 1-3 and lecture. PREP WORK: Modules 1 through 5; all labs up through chapter 3. GRADING: You’ll be graded on how well you follow the program instructions and the accuracy of your output as reflected in the prompts, the output specifications, and the sample output. This includes spacing and line advancing. Each line of output can be associated with multiple points in the code! The instructions, prompts and output are what the user wants. You are not at liberty to change anything, but code to these requirements. You’ll also be graded on the code given to you by your professor for this PA. PROGRAM INSTRUCTIONS: To create a program that estimates federal income taxes for the current year. Your program only will concentrate on two types of filers for simplicity. Assume there is no state income tax. NOTE: The tax information contained herein was derived from the Internet, and is not reflective nor representative of actual tax code for the proper filing of your federal income taxes. Filing Status Standard Deduction Married Filing Jointly (even if widowed during $24,400 tax year) Single (divorced, legally separated, unmarried $12,200 as of 12/31/of taxable year) © 2020 Linda Shepherd: PA1 instructions and code. 1 © https://www.mortgagecalculator.org/calcs/simple-federal-tax-calculator.php for information regarding the estimate of federal income taxes for the current year. © 2020 Disney: Mickey Mouse. © 2020 Warner Bros. Entertainment Inc.: Wile E. Coyote. Terms Definitions Action Dependents for Child Tax Credit Age of child no more than 16 at year’s Deduct $2,000 per end. child. Income (includes business) Wages, salaries, tips, and any other Combine for both taxable earned income. spouses when filing jointly. Other Income Contract work, investments, winnings (lottery and gambling), jury duty, rental property, social security, unemployment, pensions. Income Adjustments  Green Energy Tax Credit Note: To qualify,  Homebuyer Tax Credit total itemized  IRA Contributions deductions have to  Medical Savings Account exceed the Contributions standard deduction.  Mortgage Interest  Moving Expenses  Self-Employment Health Insurance  Student Loan Interest Paid Credits & Deductions  Adoption Costs Note: To qualify,  Charitable Contributions or total itemized Donations deductions have to  Education Costs exceed the  Job Expenses standard deduction.  Medical Expenses  Moving Expenses © 2020 Linda Shepherd: PA1 instructions and code. 2 © https://www.mortgagecalculator.org/calcs/simple-federal-tax-calculator.php for information regarding the estimate of federal income taxes for the current year. © 2020 Disney: Mickey Mouse. © 2020 Warner Bros. Entertainment Inc.: Wile E. Coyote. NOTE: The minimum value in each range is not included in the range whereas the upper value is. In the 2nd column of the table below, the range $19,400 - $78,950 should be read as over $19,400 because the $19,400 is included in the $0 - $19,400 range. 1. Logical Control Structures: a. Use a while loop to process federal income tax calculations for multiple individuals. Use a sentinel-control variable. i. Re-initialize the variables for taxes owed and refund to zero at the beginning of the while. b. Use if-else and nested if-else structures to figure out i. the filing status and standard deduction based on the filing status choice. ii. the tax rate based on the filing status choice and the income range. iii. whether taxes are owed or a refund is due. iv. whether to print the final output or the no taxes message. To return from these links press Alt then left arrow. c. The calculation i. for the adjusted taxable income comes after the calculation for other credits and payments. ii. for the tax comes after the nested if-else structures for the tax rate. iii. for taxes owed comes after the tax calculation in an if-else structure. iv. for a refund comes after the tax calculation in an if-else structure. d. Use printf() with format specifiers where needed. e. Don’t forget to insert the exit statement at the end of main(). f. The prompts, the final output specs, and the sample output show you in what order to place your code. To return from these links press Alt then left arrow. © 2020 Linda Shepherd: PA1 instructions and code. 3 © https://www.mortgagecalculator.org/calcs/simple-federal-tax-calculator.php for information regarding the estimate of federal income taxes for the current year. © 2020 Disney: Mickey Mouse. © 2020 Warner Bros. Entertainment Inc.: Wile E. Coyote. 2. Develop (pseudocode) your plan first. The plan is worth 10% of your grade. a. The prompts tell you what input variables you will need. b. The output will tell you the type of calculations you will need (if any) and whether you will need to declare additional variables. c. The output will tell you the order of logic for your code. d. Save your plan as YourLastNameFirstInitialSecNoPA1Plan. Download the plan instructions and the plan template through the links posted for this assignment on Blackboard. 3. Work and submit this program on your own (no partner). Name your program as YourLastNameFirstInitialYourSectionNoPA1. 4. Commenting Your Program: a. In your program, YOU MUST insert a program purpose in the first comment box. The content of that first comment box was shown to you in the Anatomy of a Java Program lecture for chapter 1. b. Use Javadoc comment boxes beginning with /** and ending with */ for your comment boxes. c. Insert a Javadoc comment box above your methods explaining what is going on in the method that goes for the main() which is a method. d. Line comment the import statements and the variables declared at the class level and/or in any method [including main()]. 5. Formatting Rules: Refer to the Java Style Guide PDF posted on Blackboard in IS 2033. Always test your output to validate that your program is functioning properly with the correct output and spacing. PROMPTS: Code the bold from the prompts below in the printf statements that capture data into your program. Once again, the prompts tell you your input variables. Except for the first prompt, all the other ones reside within the while loop. 1st Prompt: Priming read that determines whether to enter while loop. Proceed with estimated federal tax calculations? 'Y' or 'N': 2nd Prompt: Please enter your first and last name: © 2020 Linda Shepherd: PA1 instructions and code. 4 © https://www.mortgagecalculator.org/calcs/simple-federal-tax-calculator.php for information regarding the estimate of federal income taxes for the current year. © 2020 Disney: Mickey Mouse. © 2020 Warner Bros. Entertainment Inc.: Wile E. Coyote
Jun 20, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here