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.
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.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 5E: a. Write a program named CheckMonth that prompts a user to enter a birth month. If the value entered...
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
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr