TASK: Print integers 123 UP to 255 skipping by 17's, then 255 DOWN to 123 skipping by 17's.
COMMENT: Look again at how a for() loop can use an increment different than 1. Be careful when skipping DOWN to set the increment correctly. Notice that the numbers in the UP list don't match those in the DOWN list.
INSTRUCTIONS:
Write a script that includes the following two calculations: A for loop starts at 123, and prints out successive integers no greater than 255, jumping up by 17 each time. A for loop starts at 255, and prints out successive integers no smaller than 123, jumping down by 17 each time.
SUBMIT: Your work should be stored in a script file called "hw011.m". Your script file should begin with at least three comment lines:
% hw011.m % YOUR NAME % This script (describe what it does) % Add any comments here that you care to make.If this problem is part of an assignment, then submit it to Canvas.