Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a programe to validate a number between 1 and 100 included. Entering 0 (Zero) will exit the programme. If the user enters between 1
Write a programe to validate a number between 1 and 100 included. Entering "0" (Zero) will exit the programme. If the user enters between 1 and 100 then the output must be.
The programme must not exit if or any other number other than 0 is entered, and must prompt for an input again until a number 1 thru 100 is entered or a zero is entered to exit
sequential
doubled
tripled
Example output if number 2 is entered
the sequence is 2,3,4,5,......,100
the double is 2,4,6,8,10........100
the triple is 2, 5, 8, 11,14...99
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started