Skip to content

Commit 064297f

Browse files
committedMar 2, 2022
Fix Vladimir Marinov Issues - 1
1 parent 28e8abe commit 064297f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Print on the console **one of the two possible states**:
124124

125125
|Input|Output|Input|Output|
126126
| ---- | ----- | ---- | ---- |
127-
|1000<br>100<br>120<br>3 |The pool is 66% full. Pipe 1: 45%. Pipe2: 54%. |100<br>100<br>100<br>2.5|For 2.5 hours the pool overflows with 400 liters.|
127+
|1000<br>100<br>120<br>3 |The pool is 66% full. Pipe 1: 45%. Pipe 2: 54%. |100<br>100<br>100<br>2.5|For 2.5 hours the pool overflows with 400 liters.|
128128

129129
### Hints and Guidelines
130130

@@ -187,7 +187,7 @@ The input is read from the console and consists of an integer – **the number o
187187

188188
|Input|Output|Input|Output|
189189
|----|-----|----|-----|
190-
|20|Tom sleeps well<br>95 hours and 25 minutes less for play|113|Tom will run away<br>3 hours and 47 minutes for play|
190+
|20|Tom sleeps well<br>95 hours and 25 minutes less for play|113|Tom will run away<br>3 hours and 47 minutes more for play|
191191

192192
### Hints and Guidelines
193193

‎chapter-05-loops.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Write a program that reads **n integer numbers** (**n** > 0) and finds **the big
135135

136136
#### Hints and Guidelines
137137

138-
First, we read one number **`n`** (the number of integers that will be entered). We assign an initial neutral value to the current maximum **`max`**, for example **-10000000000000** (or **`Number.NEGATIVE_INFINITY`**). Using a **`for` loop** that iterates **n times** (**`n = args[0]`**), we read one integer number **`num`** on each iteration. If the current number **`num`** is higher than the current maximum **`max`**, we assign the value of the **`num`** to the variable **`max`**. Finally, we have the highest number's value stored in **`max`**. We print the number on the console.
138+
First, we read one number **`n`** (the number of integers that will be entered). We assign an initial neutral value to the current maximum **`max`**, for example **-1000000** (or **`Number.NEGATIVE_INFINITY`**). Using a **`for` loop** that iterates **n times** (**`n = args[0]`**), we read one integer number **`num`** on each iteration. If the current number **`num`** is higher than the current maximum **`max`**, we assign the value of the **`num`** to the variable **`max`**. Finally, we have the highest number's value stored in **`max`**. We print the number on the console.
139139

140140
![](assets/chapter-5-1-images/05.Max-number-01.png)
141141

@@ -291,7 +291,7 @@ Write a program that reads **n numbers** and calculates **the sum**, **the min**
291291

292292
The problem combines some of the previous problems: finding **the min**, **the max** value, and **the sum**, as well as processing the elements on **even and odd positions**. Check them out.
293293

294-
In this problem, it's better to work with **fractions** (not integers). The sum, the minimum, and the maximum value are also fractions. We must use **a neutral start value** upon finding the minimum / maximum, for example **1000000000.0** and **-1000000000.0**. If the final result is the neutral value, print **“No”**.
294+
In this problem, it's better to work with **fractions** (not integers). The sum, the minimum, and the maximum value are also fractions. We must use **a neutral start value** upon finding the minimum / maximum, for example **1000000.0** and **-1000000.0**. If the final result is the neutral value, print **“No”**.
295295

296296
#### Testing in The Judge System
297297

@@ -595,7 +595,7 @@ Repeat the following 36 times in a loop:
595595

596596
### Problem: * Draw a Spiral Triangles with The Turtle
597597

598-
Add a [**Triangle**] button that draws three triangles with 22 beams each, as shown in the figure below:
598+
Add a [**Spiral Triangle**] button that draws three triangles with 22 beams each, as shown in the figure below:
599599

600600
![](assets/chapter-5-1-images/13.Turtle-graphics-17.png)
601601

0 commit comments

Comments
 (0)
Please sign in to comment.