Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 3 insertions, 2 deletions
-rw-r--r--Sem. 01/README.md5
diff --git a/Sem. 01/README.md b/Sem. 01/README.md
index c97a01f..9d25d7c 100644
--- a/Sem. 01/README.md
+++ b/Sem. 01/README.md
@@ -87,13 +87,14 @@ struct Box
### Деклариране на обекти от новия тип
```c++
-Box b; //default values to height and weight
+Box b; //default values to height and width ans lenght
Box b2 = {3, 4, 3.4} // height = 3, width = 3, length = 3.4;
Box b3;
b3.height = 13;
-b3.weight = 14;
+b3.width = 14;
+b3.lenght = 20;
```
#### Подаване във функции