Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!