2020-12-23 12:02:35 -05:00
|
|
|
//
|
2021-01-03 12:21:11 -05:00
|
|
|
// Oh no! This program is supposed to print "Hello world!" but it needs
|
|
|
|
// your help!
|
2020-12-23 12:02:35 -05:00
|
|
|
//
|
2021-01-03 12:21:11 -05:00
|
|
|
// Hint: Zig functions are private by default.
|
|
|
|
// The main() function should be public.
|
|
|
|
// Declare a public function with "pub fn ..."
|
2020-12-23 12:02:35 -05:00
|
|
|
//
|
2021-01-03 12:21:11 -05:00
|
|
|
// Try to fix the program and run `ziglings` to see if it passes.
|
2020-12-23 12:02:35 -05:00
|
|
|
//
|
2021-01-03 12:21:11 -05:00
|
|
|
const std = @import("std");
|
2020-12-23 12:02:35 -05:00
|
|
|
|
2021-01-03 12:21:11 -05:00
|
|
|
fn main() void {
|
|
|
|
std.debug.print("Hello world!\n", .{});
|
2020-12-23 12:02:35 -05:00
|
|
|
}
|
|
|
|
|