Write a program that asks the user to input a word or phrase and then outputs the following information about that phrase:
"All numbers", if the input is all numbers.
"Does not contain numbers", if the input does not contain any numbers.
"Contains a {digit}" for each number in the phrase.
Sample Run
Enter your word or phrase: 555
All numbers
Enter your word or phrase: We are #1!
Contains a 1
Enter your word or phrase: a1b2c3d
Contains a 1
Contains a 2
Contains a 3
Enter your word or phrase: computer science
Does not contain number
1
Expert's answer
2019-10-24T00:57:17-0400
Dear yousif, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment