Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to build a program for my brothers birthday. I am drawing a blank for this procedure for a program i am building. I want the procedure to repeat whatever string he types in as many times as it is characters long. So "Frog" would repeat four times.

it will probably print on a console.writeline()

Thank you so much

 

cheers

Posted
For x as integer = 1 to Len([i]StringName[/i])
Console.WriteLine([i]StringName[/i])
Next

To err is human, to really foul things up requires a computer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...