Skip to content

Commit 9d30cd9

Browse files
committed
Chapter 8.2 - Grammarly + Upper Letter Titles
1 parent 2cd88ff commit 9d30cd9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

chapter-08-exam-preparation-part-2.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Traditionally, the admission exam at SoftUni consists of **6 practical programmi
1212
- A problem with nested loops (drawing a figure on the console).
1313
- A problem with nested loops and more complex logic.
1414

15-
Let's examine a **real exam topic**, the problems it contains and their solutions.
15+
Let's examine a **real exam topic**, the problems it contains, and their solutions.
1616

1717

1818
## Problem: Distance
@@ -159,9 +159,9 @@ We can find the final result by **calculating the total amount** that is needed
159159
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/940#1](https://judge.softuni.org/Contests/Practice/Index/940#1).
160160

161161

162-
## Problem: Flowers Shop
162+
## Problem: Flowers
163163

164-
A flowers shop offers 3 types of flowers: **chrysanthemums**, **roses** and **tulips**. The prices depend on the season. In this problem, our currency will be **lv**, which is BGN (Bulgarian lev).
164+
A flowers shop offers 3 types of flowers: **chrysanthemums**, **roses**, and **tulips**. The prices depend on the season. In this problem, our currency will be **lv**, which is BGN (Bulgarian lev).
165165

166166
|Season|Chrysanthemums|Roses|Tulips|
167167
|:---:|:---:|:---:|:---:|
@@ -179,9 +179,9 @@ The price for arranging a bouquet is always **2 lv** (BGN). Write a program that
179179
### Input Data
180180

181181
The function receives **5 arguments**:
182-
* **The number** of the puchared **chrysanthemums**whole number inside the interval of [**0 … 200**].
183-
* **The number** of the puchared **roses**whole number inside the interval of [**0 … 200**].
184-
* **The number** of the puchared **tullips**whole number inside the interval of [**0 … 200**].
182+
* **The number** of the purchased **chrysanthemums**an integer number inside the interval of [**0 … 200**].
183+
* **The number** of the purchased **roses**an integer number inside the interval of [**0 … 200**].
184+
* **The number** of the purchased **tulips**an integer number inside the interval of [**0 … 200**].
185185
* **The season**[**Spring, Summer, Autumn, Winter**].
186186
* **If the day is a holiday**[**Y - yes / N - no**].
187187

@@ -267,7 +267,7 @@ By the requirements, we see that **first**, we will receive **the number** of st
267267

268268
![](assets/chapter-8-2-images/04.Grades-01.png)
269269

270-
Before executing the code of the **`for`** loop, we will create variables where we will store **the number of students** for each group: poor results (up to 2.99), results from 3 to 3.99, from 4 to 4.99 and grades above 5. We will also need one more variable, where we will store **the sum of all grades**, via which we will calculate the average grade of all students:
270+
Before executing the code of the **`for`** loop, we will create variables where we will store **the number of students** for each group: poor results (up to 2.99), results from 3 to 3.99, from 4 to 4.99, and grades above 5. We will also need one more variable, where we will store **the sum of all grades**, via which we will calculate the average grade of all students:
271271

272272
![](assets/chapter-8-2-images/04.Grades-02.png)
273273

0 commit comments

Comments
 (0)