.net - How can I fix my code to correctly print "Hello World!" -
i have code need fix print "hello world!". reason prints letters scrambled.
sub main() dim s string = "hello world!" parallel.for(0, s.length, sub(i) console.write(s(i)) end sub) console.read() end sub
any suggestions?
sub main() console.write("hello world!") end sub
if must print 1 character @ time, write:
sub main() dim s string = "hello world!" dim integer i=0 s.length-1 console.write(s(i)) end end sub
Comments
Post a Comment