subject
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

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 03:00
What is one potential problem associated with an organization purchasing new technology early in its lifecycle
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Multiple choice project create a program with two multiple choice questions. 1. users have two attempts only, show attempt number each time. hint: while loop with break control. (20%) 2. only one correct answer for each question, use switch case for each question. (20%) 3. show total score after the two questions are answered. hint: . (20%) 4. user have options to answer the two questions again if first attempt score is not 100%. hint: if statment. (20%) 5. use string method .toupper() to allow users to enter with lowercase or uppercase letters. (20%) 1. where is the capital of the state of florida? a. orlando b. tallahassee c. miami d. tampa b 2. where is walt disney world park located in florida? a. orlando b. tallahassee c. miami d. tampa a
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
You know the right answer?
By using a do..while loop, write a program that will receive two integers as input, where the 1st nu...
Questions
question
Mathematics, 17.09.2020 19:01
question
Spanish, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
English, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Biology, 17.09.2020 19:01
question
English, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Spanish, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
question
Biology, 17.09.2020 19:01
question
Mathematics, 17.09.2020 19:01
Questions on the website: 13722362