Write a program that announces at each repetition of a loop the number of times it has executed the loop. Have it stop at each execution with the message.
Type ‘more’ to continue
Bulletproof it so that it doesn’t matter whether ‘more’ is entered in upper or lower case, or whether they misspell the word after the first letter.
A sample execution would be:
Loop execution number 1
Type ‘More’ to continue More
Loop execution number 2
Type ‘More’ to continue More
Loop execution number 3
Type ‘More’ to continue Stop
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment