Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

=+you think is being taxed when more money is printed? Why?

Answered: 1 week ago