Question: Now you will need to create a secondary code that follows the first one. This code will use a for statement to count your variable

Now you will need to create a secondary code that follows the first one. This code will use a for statement to count your variable down from 255 back to zero. You will need to create a secondary variable as your index in the for statement. (It is understood you could still use the index from part 1 but create a secondary one to keep the indexes different). You should reduce the value of your primary variable by a unit other than 5. You have the freedom to choose this index amount, it just can not be 1. Once the variable has been counted back down to zero, alert the user with the value contained in your initial variable. Remember to check to ensure you do not have an off-by-one error for either part of the code.

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!