Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ask the user for how much money they make. Assign the variable taxes to be 20 percent of their salary. (1) Ask the user for
Ask the user for how much money they make. Assign the variable taxes to be 20 percent of their salary. (1) Ask the user for how much money they make and store it in an integer variable. Output the information to the user Enter Salary: 100 Your salary is: $ 100 (2) Store the taxes they will have to pay into a variable called tax. Taxes are 20% of their salary. Enter Salary: 100 Your salary is $ 100 Your tax amount is $ 20 (3) Store the net take home they will have into a variable called net. Net is salary-taxes. Enter Salary: 100 Your salary is: $ 100 Your tax amount is $ 20 Your net amount is: $ 80
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