From bdfe3df2947f8787c8a4ef8c534f6a8932e13871 Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Mon, 29 Jun 2026 15:11:40 -0500 Subject: feat: begin solving exercises --- exercises/019_functions2.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/019_functions2.zig') diff --git a/exercises/019_functions2.zig b/exercises/019_functions2.zig index 5a76c7b..b161167 100644 --- a/exercises/019_functions2.zig +++ b/exercises/019_functions2.zig @@ -22,7 +22,7 @@ pub fn main() void { // You'll need to figure out the parameter name and type that we're // expecting. The output type has already been specified for you. // -fn twoToThe(???) u32 { +fn twoToThe(my_number: u8) u32 { return std.math.pow(u32, 2, my_number); // std.math.pow(type, a, b) takes a numeric type and two // numbers of that type (or that can coerce to that type) and -- cgit v1.2.3