Skip to content

Commit 19a57e9

Browse files
committed
Global Changes remove spaces between * and ,
1 parent ec7d156 commit 19a57e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chapter-03-simple-conditions-exam-problems.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/652#
228228

229229
### Problem: Harvest
230230

231-
There's a vineyard that has an **area of X sq. M.** . **40% of the harvest** is allocated for wine production. The yield from **1sq.m. vineyard** is **Y kilograms of grapes**. To produce **1 liter of wine** is used **2.5kg grapes**. The desired amount of wine **for sale is Z liters**.
231+
There's a vineyard that has an **area of X sq. M.**. **40% of the harvest** is allocated for wine production. The yield from **1sq.m. vineyard** is **Y kilograms of grapes**. To produce **1 liter of wine** is used **2.5kg grapes**. The desired amount of wine **for sale is Z liters**.
232232

233233
Your problem is to write a program that **calculates the possible amount of produced wine** and validates if it's **enough**. **If the production is satisfying the expectations, then the remainder shall be distributed equally among the vineyard workers.**
234234

@@ -268,7 +268,7 @@ First, we need to **check** what **input data** is expected and choose an adequa
268268

269269
![](assets/chapter-3-2-images/04.Harvest-01.png)
270270

271-
To solve the problem we need to **compute** the **amount of wine in liters** that the harvest will produce using the **input data**. The problem defines a formula that requires the **weight of the yielded grapes in kg.** . We can easily calculate this by **declaring** a **variable** that will store a **value** equal to **40%** of the result of the **multiplication** of the area of the vineyard and the amount of yielded grapes per square meter.
271+
To solve the problem we need to **compute** the **amount of wine in liters** that the harvest will produce using the **input data**. The problem defines a formula that requires the **weight of the yielded grapes in kg.**. We can easily calculate this by **declaring** a **variable** that will store a **value** equal to **40%** of the result of the **multiplication** of the area of the vineyard and the amount of yielded grapes per square meter.
272272

273273
Once we have made these calculations, we are ready to **insert** them into the problem formulation. We **declare** another **variable** that will store the **amount of wine in liters** and will be equal to the **weight of the yielded grapes in kg. divided by 2.5**.
274274

chapter-10-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The program with a total of five methods that call one another is ready and we c
114114

115115
## Methods with Parameters
116116

117-
Often to solve a problem, the method by which we achieve this needs **additional information**, which depends on its purpose. This information represents the **parameters of the method** , and its behavior depends on them.
117+
Often to solve a problem, the method by which we achieve this needs **additional information**, which depends on its purpose. This information represents the **parameters of the method**, and its behavior depends on them.
118118

119119
### Using Parameters in Methods
120120

0 commit comments

Comments
 (0)