Computers and Technology, 18.12.2020 19:30, nisha87
By using a do..while loop, write a program that will receive two integers as input, where the 1st number is smaller than the 2nd number. In between the range of the two given numbers, the program should count the numbers that are divisible by 5 and 10.
For example,
Input: 1st number = 4 and 2nd number = 12
Solution,
Numbers that are divisible by 5 are 5, 10, 15, 20 and 25.
Numbers that are divisible by 10 are 10 and 20.
Below is the sample input and output for this program:
Enter 1st number: 4
Enter 2nd number: 28
RANGE: FROM 4 TO 28
5 numbers are divisible by 5
2 numbers are divisible by 10
Answers: 2
Computers and Technology, 24.06.2019 01:00, Timeisjesus
Answer these and get 40 points and brainliest
Answers: 1
Computers and Technology, 25.06.2019 04:10, asdasddas776
This might be a bit off-topic, but i'm having trouble with a certain arg made by game theory. if there are any theorists out there that wanna , it would be appreciated!
Answers: 2
Computers and Technology, 25.06.2019 19:00, sophiagardens227
What is the difference between blog and vlog? ?
Answers: 2
Computers and Technology, 25.06.2019 22:30, sarabell5326
If you were working on a mainframe, which of the following operating systems would you most likely be using?
Answers: 1
By using a do..while loop, write a program that will receive two integers as input, where the 1st nu...
Chemistry, 23.09.2020 04:01
Mathematics, 23.09.2020 04:01
Mathematics, 23.09.2020 04:01
Mathematics, 23.09.2020 04:01
Social Studies, 23.09.2020 04:01
Mathematics, 23.09.2020 04:01
English, 23.09.2020 04:01