[Year 12 SofDev] Arrays and loops exercises - erratum

Mark KELLY kel at mckinnonsc.vic.edu.au
Wed May 18 10:20:48 EST 2011


Hi all. In the Arrays & Loops exercises I posted yesterday, a fix is needed
in a solution.

*Stars 2*

dim linecounter, *starcounter* as integer

for  linecounter=1 to 6

   for starcounter=1 to *linecounter*
* *

      debug.write(“*”)  ‘ no line break after each star

   next starcounter

   debug.writeline(“”)   ‘carriage return to start new line

next linecounter


-- 
Mark Kelly
Manager of ICT, Reporting, IT Learning Area
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia
Direct line / Voicemail: +613 8520 9085, Fax +613 9578 9253
kel at mckinnonsc.vic.edu.au
VCE IT Lecture Notes: http://vceit.com
Moderator: IT Applications Edulist

Want a good time? Call 0112358. Ask for Mr Fibonacci.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20110518/d6fd9790/attachment.html 


More information about the sofdev mailing list