From 0763117633b834e57461e89f42fd040c66a95837 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Mon, 13 Apr 2026 16:25:26 +0200 Subject: [PATCH] Working math --- test/src/main.ms | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/src/main.ms b/test/src/main.ms index 2d85d4a..ce922de 100644 --- a/test/src/main.ms +++ b/test/src/main.ms @@ -1,13 +1,9 @@ import "fmt"; function add(a: int, b: int) -> int { - const x = 10; - if (x > 5) { - return x; - } - return 0; + return a + b; } function main() { - fmt.Println("Hello World!"); + fmt.Println(add(10, 10) / 2); } \ No newline at end of file