add ex 57 unions 3

This commit is contained in:
Dave Gauer 2021-03-10 20:14:25 -05:00
parent 89187e52a1
commit 42fde519e9
3 changed files with 62 additions and 0 deletions

View file

@ -288,6 +288,10 @@ const exercises = [_]Exercise{
.main_file = "56_unions2.zig",
.output = "Insect report! Ant alive is: true. Bee visited 16 flowers.",
},
.{
.main_file = "57_unions3.zig",
.output = "Insect report! Ant alive is: true. Bee visited 17 flowers.",
},
};
/// Check the zig version to make sure it can compile the examples properly.