From d210e53e1e4a06b8a47e4a9f4de38af8437fa47f Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Sat, 23 Mar 2024 10:07:52 -0400 Subject: [PATCH] Adds Mult function --- maths.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maths.go b/maths.go index dbee74b..00f267d 100644 --- a/maths.go +++ b/maths.go @@ -9,3 +9,8 @@ func Add(a, b int) int { func Sub(a, b int) int { return a - b } + +// Mult multiplies two integers and returns the result +func Mult(a, b int) int { + return a * b +}