Write a python code that asks the user to enter several numbers that are a multiple of 5. If the user enter a value that is not a multile of 5 it should prints a message and prompt for the user to enter a new number. The user can stop the process by inputing the string *done*. At the end print the total number of values entered that are a multiple of 5.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter5: Making Decisions
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Question

"Write a python code that asks the user to enter several numbers that are a multiple of 5. If the user enter a value that is not a multile of 5 it should prints a message and prompt for the user to enter a new number. The user can stop the process by inputing the string *done*. At the end print the total number of values entered that are a multiple of 5. "

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT