Given an int variable k that has already been declared use a for loop to print a single line consisting of 97 asterisks.

Given an int variable k that has already been declared use a for loop to print a single line consisting of 97 asterisks.

LANGUAGE: Visual Basic

CHALLENGE:

Given an int variable k that has already been declared use a for loop to print a single line consisting of 97 asterisks.  Use no variables other than k.

SOLUTION:

For k = 1 to 97
    Console.Write("*")
Next

Add comment