2016-12-25 15:50:41 -08:00
|
|
|
|
2016-12-29 15:53:48 -08:00
|
|
|
fn add(a, b)
|
|
|
|
a + b
|
|
|
|
end
|
|
|
|
|
|
|
|
fn subtract(a, b)
|
|
|
|
a - b
|
|
|
|
end
|
2016-12-25 15:50:41 -08:00
|
|
|
|
|
|
|
fn main()
|
2016-12-29 15:53:48 -08:00
|
|
|
first_value = add(20, 20)
|
|
|
|
second_value = subtract(700, 650)
|
|
|
|
first_value + second_value
|
2016-12-25 15:50:41 -08:00
|
|
|
end
|
2016-12-29 15:53:48 -08:00
|
|
|
|
|
|
|
main()
|
|
|
|
|