Question: Consider the sequence: 2 , 1 8 , 1 6 2 , 1 4 5 8 , 1 3 1 2 2 , 1 1

Consider the sequence:
2,18,162,1458,13122,118098,...
Create a scratch program that asks the user to enter two numbers X and Y, with X less than Y. Then the program displays all of the numbers in the above sequence starting with the number in the sequence in position X and ending with the number in the sequence in position Y. Please help by being specific

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 Programming Questions!