-27

I was assigned a program for class, and I have to make a line of output say "Hello World". I don't know how o do this, please help

  • 16
    Have you not attended a single class yet? Isn't this something that's covered, you know, in the class materials? – Aaron Bertrand Feb 19 '15 at 18:37
  • 9
    If only solving [Hello World](http://www.roesler-ac.de/wolfram/hello.htm) was a classic and time honoured tradition in development. Someone could actually list how to accomplish it in virtually every language. Such a pity – billinkc Feb 19 '15 at 18:50

4 Answers4

5
10 PRINT "Hello World"

Should pretty much do it for a BASIC program.

Carl Norum
  • 219,201
  • 40
  • 422
  • 469
1

There are so many approaches to this question, for example:

10 V$ = "Hello world."
20 PRINT V$

is one.

eoredson
  • 1,167
  • 2
  • 14
  • 29
0

Another method to the hello world could be:

10 READ V$
20 PRINT V$
30 DATA "Hello world."

and I could go on but these should be enough.

eoredson
  • 1,167
  • 2
  • 14
  • 29
0

Here is another:

10 REM hello world program
20 FOR L = 1 TO 12
30     READ a
40     PRINT CHR$(a);
50 NEXT
60 PRINT
70 DATA 72,101,108,108,111,32,119,111,114,108,100,46
eoredson
  • 1,167
  • 2
  • 14
  • 29