Suppose the days of the year are numbered from 1 to 365 and January 1 falls on a Tuesday as it will in 2019. What is the correct For statement to use if you want only the numbers for the Fridays in 2019?

(A) For i As Integer = 3 to 365 Step 7
(B) For i As Integer = 1 to 365 Step 3
(C) For i As Integer = 365 To 1 Step -7
(D) For i As Integer = 3 To 365 Step 6

(A) For i As Integer = 3 to 365 Step 7

Computer Science & Information Technology

You might also like to view...

A(n) ________ indicates a problem that occurs while a program executes.

a. syntax error b. omitted import c. missing semicolon d. exception

Computer Science & Information Technology

The Microsoft HoloLens headset has all of the following except _______ .

A. wireframes B. built-in processors C. sensors D. cameras

Computer Science & Information Technology