mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
added first exercise for bit manipulation
This commit is contained in:
parent
1ccc86edd6
commit
3c19500827
1 changed files with 4 additions and 0 deletions
|
@ -504,6 +504,10 @@ const exercises = [_]Exercise{
|
||||||
.main_file = "096_memory_allocation.zig",
|
.main_file = "096_memory_allocation.zig",
|
||||||
.output = "Running Average: 0.30 0.25 0.20 0.18 0.22",
|
.output = "Running Average: 0.30 0.25 0.20 0.18 0.22",
|
||||||
},
|
},
|
||||||
|
.{
|
||||||
|
.main_file = "097_bit_manipulation.zig",
|
||||||
|
.output = "x = 0; y = 1",
|
||||||
|
},
|
||||||
.{
|
.{
|
||||||
.main_file = "999_the_end.zig",
|
.main_file = "999_the_end.zig",
|
||||||
.output = "\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.",
|
.output = "\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.",
|
||||||
|
|
Loading…
Reference in a new issue