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