Getting the age of participant, of the age is less than or equal to 17 you need to print sorry you are not able to join the event, else you need to print welcome to the event.
Start
Declare integer age
Read age
if age<=17 then
Display message: "Sorry you are not able to join the event."
else
Display message: "Welcome to the event."
end if
Stop
Comments
Leave a comment