Add arithmetic example

This commit is contained in:
Sofia 2025-07-20 21:26:50 +03:00
parent ba8ee770fb
commit 93b4de9230

9
reid_src/arithmetic.reid Normal file
View File

@ -0,0 +1,9 @@
// Arithmetic, function calls and imports!
fn main() -> u32 {
let value = 6;
let other = 15;
return value * other + 7 * value;
}