Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Why is my output for the rate not working? Can anyone tell me? I've been on this a long time. Thank you. 38 39 40

image text in transcribed

Why is my output for the rate not working? Can anyone tell me? I've been on this a long time. Thank you.

38 39 40 41 42 43 else if (income 0.00) if(income RATE3_SINGLE_MIN) tax! = RATEI * income ; //single lower bracket System.out.printf("Your rate is",tax1); 45 46 47 48 49 50 51 52 53 54 else if (income 32000.00) tax1 income * RATE2 4400.00;//single highest brack System.out.printf ("Your rate is", tax1); else System.out.printf ("Please enter a valid input."); 56 57 58 59 60 61 62 63 64 65 else if (income RATE4_MARRIED_MIN) tax1-0.15 * income 1600.00;//married middle bracket System.out.printf ("Your rate is", tax1); else 67 68 if (income 0.00) if(income TaxCalculator [Java Application] /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Ho Please enter your income: 50.00 Please enter 's' for single, 'm' for married: Your rate is

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions