Skip to content

Commit

Permalink
Correction in first exercise (#511)
Browse files Browse the repository at this point in the history
Instruction "The initial width and height should be 60 and 80, respectively." is wrong. It should be: "80 and 60, respectively." Users are loosing a lot of time because that error in instruction.
  • Loading branch information
raxavelo authored Nov 13, 2021
1 parent ceb2690 commit d189052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/windowing-system/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ screenSize.height ║ | │ │

## 1. Define a Size struct

Define a struct named `Size` with two `Int` properties, `width` and `height` that store the window's current width and height, respectively. The initial width and height should be 60 and 80, respectively. Include a method `resize(newWidth:newHeight:)` that takes new width and height parameters and changes the properties to reflect the new size.
Define a struct named `Size` with two `Int` properties, `width` and `height` that store the window's current width and height, respectively. The initial width and height should be 80 and 60, respectively. Include a method `resize(newWidth:newHeight:)` that takes new width and height parameters and changes the properties to reflect the new size.

```swift
let size1080x764 = Size(width: 1080, height: 764)
Expand Down

0 comments on commit d189052

Please sign in to comment.