Skip to content

Imagine a made-up language that... Implement the following functions...

Notifications You must be signed in to change notification settings

example-apps/made_up_language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

##Imagine a made-up language that: ####doesn't allow literal values

####treats all function arguments as immutable

####only has five functions: loop(x) {...} Loop(x) times and executes the between {} increment(x) Returns the value of x + 1 assign(x, y) Assign the value of y to x zero() Returns the number 0 return(x) Exit current scope and return x to the caller

##Implement the following functions:

add(x, y)
multiply(x,y)
decrement(x)
subtract(x,y)

###Extra Credit divide(x,y)

About

Imagine a made-up language that... Implement the following functions...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published