Question: 1. Indicate if the following value should be held in a variable or constant. User input for a weight measurement in U.S. pounds. (a) variable
1.
Indicate if the following value should be held in a variable or constant.
User input for a weight measurement in U.S. pounds.
(a) variable (b) constant
2.
Indicate if the following value should be held in a variable or constant.
The value for Archimedes Pi .
(a) variable (b) constant
3.
Indicate if the following value should be held in a variable or constant.
An income tax calculated for an employee's annual pay with a fixed tax rate
of 0.15 .
(a) variable (b) constant
4.
What is the result of each expression?
| (I) int(1.55) | (II) float("7.99") | (III) str(99) |
(a) (I) 1 ; (II) 7.98 ; (III) 90 (b) (I) 1 ; (II) 7.99 ; (III) 99
(c) (I) 1 ; (II) 7.98 ; (III) 100 (d) (I) 0 ; (II) 7.99 ; (III) 99
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
