mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 00:34:06 +02:00
13 lines
123 B
Plaintext
13 lines
123 B
Plaintext
|
|
fn add(lhs: int, rhs: int) -> int {
|
|
lhs + rhs
|
|
}
|
|
|
|
fn main() {
|
|
let a = 5;
|
|
let b = 7;
|
|
let c = add(a, b);
|
|
}
|
|
|
|
|