Modularisation Ex 1 - Birthday Message

Created By: M Ritter | Difficulty Level: 2

Description

Write an algorithm to prompt the user for a name and age. Pass these values to a function that outputs a message in the form "Happy Birthday, Amy!. You are 3 today!."

Puzzle

Drag from here

Construct your solution here

  • BEGIN
  • INPUT name
  • INPUT age
  • CALL birthday (name, age)
  • END
  • BEGIN birthday (name , age )
  • DISPLAY Happy Birthday + name + “!” + You are + age + today !”
  • END birthday