1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-26 02:06:16 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
abdullhakim-sami 460609823c
Merge 7e70463775 into 27b5d3b55f 2023-08-29 16:02:07 -03:00
abdullhakim-sami 7e70463775
Update 012_while2.zig
changed u32 to u16 (cuz we know the number won't change beyond u16 unless we broke things)

u16 = between 0 and 65,535.

the exercise have u32 (its not related to the current exercise )
2023-06-18 15:43:23 +03:00

View File

@ -21,7 +21,7 @@
const std = @import("std");
pub fn main() void {
var n: u32 = 2;
var n: u16 = 2;
// Please set the continue expression so that we get the desired
// results in the print statement below.