Start
Declare variable answer
Declare variable FirstName
Declare variable MiddleName
Declare variable LastName
Read FirstName
Read MiddleName
Read LastName
Display message: "Is it morning or night: "
Read answer
if answer =morning then
Display message: "Good Morning,"+FirstName+MiddleName+LastName
else
Display message: "Good night,"+FirstName+MiddleName+LastName
end if
Stop
Comments
Leave a comment