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 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 book.
Multiply the values and store in a variable. This will represent the cost of the purchase.
Create and set a variable representing a tax of
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 total on a single one line not on separate lines
B Output a meaningfuldescriptive message for all values.
C Ensure the tax and total cost include 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 IDmemory location:
A Using one print statement, output the identity id of each of the variables total
numbers user entered, tax rate, total tax, total cost before tax, total cost after tax, ceil, and floor
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
