Add arithmetic example
This commit is contained in:
parent
ba8ee770fb
commit
93b4de9230
9
reid_src/arithmetic.reid
Normal file
9
reid_src/arithmetic.reid
Normal file
@ -0,0 +1,9 @@
|
||||
// Arithmetic, function calls and imports!
|
||||
|
||||
|
||||
fn main() -> u32 {
|
||||
let value = 6;
|
||||
let other = 15;
|
||||
|
||||
return value * other + 7 * value;
|
||||
}
|
Loading…
Reference in New Issue
Block a user