Selection Ex 1 - Basketball Players

Created By: M Ritter | Difficulty Level: 2

Description

An algorithm is required to inform a user if they are suitable for playing Basketball based on their height and age. If the user is older than 15 and greater than 180cm tall, then they are suitable. Otherwise, they are not. Request this input from the user so the algorithm can provide suitable output.

Puzzle

Drag from here

  • OUTPUT ("Unsuitable for basketball")
  • INPUT age
  • INPUT height
  • ENDIF
  • ELSE
  • END
  • IF age < 15 AND height < 180 THEN
  • OUTPUT ("Consider basketball")
  • BEGIN

Construct your solution here