ABCs
Code ABC's
Toggle navigation
Free Programming Tutorials
Decision in Logo
Home
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