Question: solve VBS - Loops Loops are mechanism to repeat the same command(s) several times. In the code below, we will loop from a value to

solve

VBS - Loops Loops are mechanism to repeat the same command(s) several times. In the code below, we will loop from a value to a value using the For-next loop. Below is the general structure for the for Next-loop For I = F to T Commands to repeat Next To Do: (Please complete the code below! You'll want to practice BEFORE completing the weekly assignment.) To understand the for loop, copy the following code into MyVBScript04.vbs The operator is the concatenation operator, it is used in the print (Echo) function to concatenate numbers and strings. fnum = cint(WScript.arguments(0)) snum = cint(WScript. arguments(1)) For I = fnum to snum WSH.Echo ("I =" I) ' operator is concatenation operator to print number and strings together Next To run the above code, do this ENTD261 CScript MyVBScript04. vbs 2 5

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