mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
Update 005_arrays2.zig
ex005 was too to
This commit is contained in:
parent
8923b3f4a9
commit
0ee4750b74
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue