Microsoft Small Basic

Program Listing: WWL454
ora=Clock.Hour
If (ora<10) Then
TextWindow.WriteLine("Bună dimineaţa!")
Else
If (ora<18) Then
TextWindow.WriteLine("Bună ziua!")
Else
TextWindow.WriteLine("Bună seara!")
EndIf
EndIf