Decision in Logo

Example: Decision in Logo

The following is an if statement in Logo.


	make "num 3
	if :num > 2 [print "Hello]

	

Output:

  Hello