mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-14 05:40:47 -05:00
15 lines
400 B
Diff
15 lines
400 B
Diff
--- exercises/059_integers.zig 2023-10-03 22:15:22.125574535 +0200
|
|
+++ answers/059_integers.zig 2023-10-05 20:04:07.109434546 +0200
|
|
@@ -20,9 +20,9 @@
|
|
|
|
pub fn main() void {
|
|
const zig = [_]u8{
|
|
- 0o131, // octal
|
|
- 0b1101000, // binary
|
|
- 0x66, // hex
|
|
+ 0o132, // octal
|
|
+ 0b1101001, // binary
|
|
+ 0x67, // hex
|
|
};
|
|
|
|
print("{s} is cool.\n", .{zig});
|