Algorithm · Snowflake · Medium
SnowCal SnowCal is a lightweight language that maintains one integer variable, X, whose starting value is 0. Its instructions are: ADD Y: increase X by Y MUL Y: replace X with X * Y FUN F: start declaring a function called F END: finish the active function declaration INV F: run the function named F Rules: Every function has a distinct name. Function declarations cannot appear inside other function declarations. Declaring a function does not require that it be called.…
Checking your access…