Answer:https://www.khanacademy.org/computer-programming/lava-the-impossible-game-by-swax97/4638717300965376/embedded?id=1436456095000-0.5&origin=undefined&buttons=yes&embed=yes&editor=no&author=yes
Explanation:
The correct answer is
<span>B)</span>
1.4
It can be difficult to become a high earner in the U.S
without a college degree. Those with a high school diploma or less are the
lowest earners on average. According to research, average yearly earnings for
someone with a bachelor’s degree are $59,124 as compared to someone with a high
school diploma who earns an average of $35,256 per year. Thus, at the end of
the day, the amount of money does become significant.
Answer:
- low = 10
- high = 50
- count = 0
-
- for i in range(low, high + 1):
- if(i % 3 == 0 and i % 5 == 0):
- count += 1
- print(count)
Explanation:
The solution code is written in Python.
We can create low and high variables to store the lower bound and upper bound in the range (Line 1-2)
Next create a counter variable, count (Line 3).
Use a for loop to traverse through the number between lower bound and upper bound and check if the current number-i is divisible by 3 and by 5, increment the count by one.
After the loop, print the count and we can get the number of ideal integers within the range (Line 8).
The numbers are sorted by tens