Answer:
(b) (int)(Math.random() * 101)
Explanation:
Given
--- minimum
--- maximum
Required
Java expression to generate random integer between the above interval
The syntax to do this is:
(int)(Math.random((max - min) + 1) + min)
Substitute the values of max and min
(int)(Math.random((100 - 0) + 1) + 0)
Simplify the expression
(int)(Math.random(100 + 1) + 0)
(int)(Math.random(101) + 0)
(int)(Math.random(101))
Hence, the right option is:
(b) (int)(Math.random() * 101)
Answer:
b. False
Explanation:
Difficult economic times, increased global competition, demand for customization, and increased consumer sophistication does not direct companies to hire more employees and outsource middle managers.
Rather, companies tend to invest new technologies, information systems to satisfy the needs in global competition, consumer sophistication and customization.
Middle managers outsourced cannot deal these issues effectively, therefore they need to be company employees.
In difficult economic times, companies does not want to hire extra employees because of increased cost.
<span>Hold down the Ctrl key as you click the cells you would like to select.</span>
years = int(input("Enter the # of years: "))
print("You are "+str(years*365)+" days old")
I wrote the code in python 3.8. I hope this helps!