Browse Source

Merge pull request #10 from tijb/patch-1

Update 03_assignment.zig | Missing Line In Example
Dave Gauer 4 years ago
parent
commit
34f03b0e96
1 changed files with 3 additions and 0 deletions
  1. 3 0
      exercises/03_assignment.zig

+ 3 - 0
exercises/03_assignment.zig

@@ -20,6 +20,9 @@
 // Example: foo can hold 8 bits (0 to 255)
 // Example: foo can hold 8 bits (0 to 255)
 //          bar can hold 16 bits (0 to 65,535)
 //          bar can hold 16 bits (0 to 65,535)
 //
 //
+//     const foo: u8 = 20;
+//     const bar: u16 = 2000;
+//
 // You can do just about any combination of these that you can think of:
 // You can do just about any combination of these that you can think of:
 // 
 // 
 //     u32 can hold 0 to 4,294,967,295
 //     u32 can hold 0 to 4,294,967,295