Skip to content

Commit ea3ccd9

Browse files
committed
Minor fixes.
1 parent 0025141 commit ea3ccd9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

source/diag/cla/Computer.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Computer <|-- Laptop
22

3-
class Person{
3+
class Computer{
44
- name: brand
55
+ SetBrand(brandP: string)
66
+ Computer(bP: string)
77
+ ToString(): string
88
}
99

10-
class FMember{
10+
class Laptop{
1111
+ «property» Battery: double
1212
- int screenSize
1313
+ «property» ScreenSize: int

source/solutions/control/recursion.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,11 @@ tags:
173173

174174
#. Write a *recursive* method that asks the user to enter a `string`, and calls itself if the user entered anything other than `"Let me out!"`.
175175

176+
<details><summary>Solution</summary>
176177
```{download="./code/projects/RecursivePrison.zip"}
177178
!include`snippetStart="// Beginning of solution.",snippetEnd="// End of solution."` code/projects/RecursivePrison/RecursivePrison/Program.cs
178179
```
180+
</details>
179181

180182

181183
#. Rewrite the following `while` loop as a recursive method.

0 commit comments

Comments
 (0)