mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-09 00:09:59 +00:00
Added first quiz
This commit is contained in:
@@ -24,7 +24,7 @@ pub fn main() void {
|
||||
// Perhaps you noticed before that the print function takes two
|
||||
// parameters. Now it will make more sense: the first parameter
|
||||
// is a string. The string may contain placeholders '{}', and the
|
||||
// second parameter is an anonymous struct (data structure)
|
||||
// with values to be printed in place of the placeholders.
|
||||
// second parameter is an "anonymous list literal" (don't worry
|
||||
// about this for now!) with the values to be printed.
|
||||
std.debug.print("{} {} {}\n", .{n, pi, negative_eleven});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user