mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-05 09:43:31 +02:00
two exercises
This commit is contained in:
@@ -31,10 +31,14 @@ pub fn main() void {
|
||||
},
|
||||
2 => {
|
||||
current_value -= 1;
|
||||
},
|
||||
else => {
|
||||
unreachable;
|
||||
},
|
||||
3 => {
|
||||
3 => {
|
||||
current_value *= current_value;
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
std.debug.print("{} ", .{current_value});
|
||||
|
||||
Reference in New Issue
Block a user