Results 1 to 10 of 297

Thread: "Hello Ubuntu" in every programming language

Threaded View

  1. #11
    Join Date
    Dec 2006
    Location
    Hogwarts, `UNKNOWN`
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: "Hello Ubuntu" in every programming language

    This thread is awesome. Since C and C++ are already taken, I'll do with QBasic (assuming nobody else took it).
    QBasic:
    Code:
    DIM NAME AS STRING
    INPUT "Hi, What's your name?", NAME
    
    PRINT "Hello";NAME"; Welcome to Ubuntu"
    
    END
    I have doubts about the PRINT statement int the end. I haven't programmed in QB for 4-5 years now.

    EDIT: Drat. I've been beaten.


    VB6:
    Code:
    Private Sub Form_Load()
    
    Dim Name As String
    InputBox("Hi What's your name: ", NAME)
    
    MsgBox("Your name is " + NAME)
    
    End Sub
    Last edited by Canis familiaris; October 6th, 2008 at 09:12 PM. Reason: Corrected the misplace semicolons

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •