mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-11 17:39:58 +00:00
Update 005_arrays2.zig
ex005 was too to
This commit is contained in:
@@ -23,7 +23,7 @@ pub fn main() void {
|
|||||||
const leet = ???;
|
const leet = ???;
|
||||||
|
|
||||||
// (Problem 2)
|
// (Problem 2)
|
||||||
// Please set this array to using repetition.
|
// Please set this array using repetition.
|
||||||
// It should result in: 1 0 0 1 1 0 0 1 1 0 0 1
|
// It should result in: 1 0 0 1 1 0 0 1 1 0 0 1
|
||||||
const bit_pattern = [_]u8{ ??? } ** 3;
|
const bit_pattern = [_]u8{ ??? } ** 3;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user