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.

LANGUAGE: C++

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:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,

1 Comment

  1. Michael Ghaly on March 10, 2017 at 6:28 pm

    JAVA:

    for (k=1;k<=97;k++){
    System.out.print("*");
    }

Leave a Comment

You must be logged in to post a comment.