Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1) [20 points) Income by City Create the Income by City calculations you developed in Lab 1 as a Java program. You will prompt the
1) [20 points) Income by City Create the Income by City calculations you developed in Lab 1 as a Java program. You will prompt the user to enter the annual income for Dallas. Calculate the equivalent income for the eight cities listed using the adjustment percentages provided. Format the output (using printf) so the data aligns in three columns as shown in the sample output below: Sample run: $ java IncomeByCity Enter annual income - Dallas: $ 100000 Location Adjustment Equivalent Income New York 34% 134,000.00 Los Angeles 20% 120,000.00 Chicago 11% 111,000.00 Minneapolis 6% 106,000.00 Houston 101,000.00 Memphis 99,000.00 San Antonio 97,000.00 Toledo 95,000.00 it is it it is it is it Note: highlighted text indicates data entered by user at runtime
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started