| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Exercise 11 Q3 Solution

Page history last edited by Steve Sweeney 15 years, 1 month ago

var word : string

 

var repeated : int

put "Enter a word: " ..

 

get word

put "How many times repeated? " .. 

get repeated

put ""          % add a blank line for visual space

for i : 1 .. repeated

    put word .. 

end for

put ""      % adds a return after the repeated words

Comments (0)

You don't have permission to comment on this page.