Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Show-ASCII-table/Zig/show-ascii-table.zig
Normal file
12
Task/Show-ASCII-table/Zig/show-ascii-table.zig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const print = @import("std").debug.print;
|
||||
pub fn main() void {
|
||||
var i: u8 = 33;
|
||||
print(" 32: Spc", .{});
|
||||
while (i < 127) : (i += 1) {
|
||||
print("{:03}: {c} ", .{ i, i });
|
||||
if (@mod(i, 6) == 1) {
|
||||
print("\n", .{});
|
||||
}
|
||||
}
|
||||
print("127: Del", .{});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue