You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard rule for priorities of arithmetic operations is applied: **multiplying and dividing are always done before adding and subtracting**. In the case of an **expression in brackets, it is calculated first** but we already know all of that from the school math.
316
316
317
+
### Problem: Concatenate Data
318
+
319
+
Write a function, that receives a first name, last name, age and city and prints a message of the following kind:
320
+
```Javascript
321
+
You are <firstName><lastName>, a <age>-years old person from <town>.
322
+
```
323
+
324
+
### Hints and Guidelines
325
+
326
+
We write a function that receives the input in the **following order**:
The **code** that prints the message described in the problem requirements should be finished.
331
+
332
+
In the picture above the code is blurred on purpose, in order for you to think of a way to finish it yourself.
333
+
334
+
Next, the solution should be tested locally using **[Ctrl+F5]**.
335
+
336
+
### Testing in The Judge System
337
+
338
+
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/927#3](https://judge.softuni.org/Contests/Practice/Index/927#3).
339
+
340
+
317
341
### Problem: Trapeziod Area
318
342
319
343
Let's write a program that inputs the lengths of the two bases of a trapezoid and its height (one floating-point number per line) and calculates the **trapezoid area** by the standard math formula:
@@ -746,7 +770,7 @@ The file **index.html** must look like this:
0 commit comments