Professional Documents
Culture Documents
ALGORITHM
START
Declare the name as variable and enter how many words can be entered
INPUT
PROCESS
OUTPUT
START
Set the current year =
2021
PROMPT
(Greeting)
INPUT
“Enter your name: “
INPUT
“Enter your birth year: “
PROCESS
Age: current year –
birth year
OUTPUT PRINT
“Welcome (your
name)”
OUTPUT PRINT
“Your age: “
END