forked from zig/exercises
003 ✅
This commit is contained in:
parent
4d844b4186
commit
cb85607e64
|
@ -34,12 +34,12 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
pub fn main() void {
|
pub fn main() void {
|
||||||
const n: u8 = 50;
|
var n: u8 = 50;
|
||||||
n = n + 5;
|
n = n + 5;
|
||||||
|
|
||||||
const pi: u8 = 314159;
|
const pi: u32 = 314159;
|
||||||
|
|
||||||
const negative_eleven: u8 = -11;
|
const negative_eleven: i8 = -11;
|
||||||
|
|
||||||
// There are no errors in the next line, just explanation:
|
// There are no errors in the next line, just explanation:
|
||||||
// Perhaps you noticed before that the print function takes two
|
// Perhaps you noticed before that the print function takes two
|
||||||
|
|
Loading…
Reference in New Issue
Block a user