ZincPony
- 21
- 0
1. 1. Use a do…while loop to determine the total number of numbers between 0 and 500 that are evenly divisible by 5 or 7.
Output should look like this:
The total number of numbers less than 500 that are divisible by either 5 or 7 is 157.
Use at least 1 increment operator and 1 decrement operator and 1 compound boolean expression.
2.I'm lost i don't know where to start off with this one. any point in direction would be greatly appreciated.
Output should look like this:
The total number of numbers less than 500 that are divisible by either 5 or 7 is 157.
Use at least 1 increment operator and 1 decrement operator and 1 compound boolean expression.
2.I'm lost i don't know where to start off with this one. any point in direction would be greatly appreciated.