10 lines
232 B
Plaintext
10 lines
232 B
Plaintext
// Arithmetic, function calls and imports!
|
|
|
|
fn main() {
|
|
let test = 9;
|
|
let simpleAdd = 2 + 2;
|
|
let simpleMult = 7 * 2; // 14
|
|
let arithmetic = 3 + 2 * 5 + 1 * 2; // 15
|
|
|
|
return arithmetic + simpleMult * arithmetic;
|
|
} |