|
@@ -17,9 +17,10 @@
|
|
// useful in the next exercise.
|
|
// useful in the next exercise.
|
|
const std = @import("std");
|
|
const std = @import("std");
|
|
|
|
|
|
-pub fn main() void {
|
|
|
|
- // Without changing anything else, please add a 'defer' statement
|
|
|
|
- // to this code so that our program prints "One Two\n":
|
|
|
|
- std.debug.print("Two\n", .{});
|
|
|
|
- std.debug.print("One ", .{});
|
|
|
|
|
|
+pub fn main() void{
|
|
|
|
+ // Without changing anything else, please add a 'defer' statement
|
|
|
|
+ // to this code so that our program prints "One Two\n":
|
|
|
|
+ defer std.debug.print("Two\n", .{});
|
|
|
|
+ std.debug.print("One ", .{});
|
|
}
|
|
}
|
|
|
|
+
|