Question: Using an input statement, request the user enter an integer value. A . the input statement should contain a message to the user ( user

Using an input statement, request the user enter an integer value.
A. the input statement should contain a message to the user (user prompt) indicating that the user should
B. enter an integer to represent the number of CSC 221 books purchased.
Using an input statement, request the user enter a float value.
A. the input statement should contain a message (user prompt) to the user indicating the cost of the CSC 221 book.
Multiply the values and store in a variable. This will represent the cost of the purchase.
Create and set a variable =.053(representing a tax of 5.3%)
A. Multiply the purchase cost by the tax value and store in a variable.
B. Add the calculated tax and the purchase and store in a variable to calculate the total cost.
Output (print) a. the values the user entered, b. the total tax, and c. the total cost of the purchase.
A. Output the values (4 total) on a single (one) line (not on separate lines).
B. Output a meaningful/descriptive message for all values.
C. Ensure the tax and total cost include 2 decimal places.
To practice importing a module, use the math module to:
A. calculate and print the ceil() value of the total cost (least integer number greater than or equal to the value).
B. calculate and print the floor() value of the total cost (largest nearest integer of the value).
To view the module ID/memory location:
A. Using one print statement, output the identity ( id()) of each of the variables (8 total)
(numbers user entered, tax rate, total tax, total cost before tax, total cost after tax, ceil, and floor)
 Using an input statement, request the user enter an integer value.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!