Skip to content

Commit a795829

Browse files
authored
Laboratory work 1
1 parent 391c039 commit a795829

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,30 @@ A singly connected list of integer values is used to represent the set. OOP is n
2424

2525
<a name="l11"></a>
2626
### Creating an empty set - `Node* creatingAnEmptySet()`
27-
*Input parameters:* None.
28-
*Output parameters:* a pointer to the first element of the list, equal to NULL.
27+
*Input parameters:* None. <br>
28+
*Output parameters:* a pointer to the first element of the list, equal to NULL.<br>
2929
<a name="l12"></a>
3030
### Checking for an empty set - `bool emptySet(Node* first)`
31-
*Input parameters:* a pointer to the first item in the list.
32-
*Output parameters:* Boolean value.
31+
*Input parameters:* a pointer to the first item in the list.<br>
32+
*Output parameters:* Boolean value.<br>
3333
<a name="l13"></a>
3434
### Checking whether an element belongs to a set - `bool checkingOfExistence(Node* first, int checking_value)`
35-
*Input parameters:* a pointer to the first element of the list, the value of the element.
36-
*Output parameters:* Boolean value.
35+
*Input parameters:* a pointer to the first element of the list, the value of the element.<br>
36+
*Output parameters:* Boolean value.<br>
3737
<a name="l14"></a>
3838
### Adding a new element to the set - `Node* add(Node*& first, int adding_value)`
39-
*Input parameters:* a pointer to the first element of the list, a value to be added to the list.
40-
*Output parameters:* a pointer to the first element of the result list.
41-
*Restriction:* Adding an item to the top of the list.
39+
*Input parameters:* a pointer to the first element of the list, a value to be added to the list. <br>
40+
*Output parameters:* a pointer to the first element of the result list.<br>
41+
*Restriction:* Adding an item to the top of the list.<br>
4242
<a name="l15"></a>
4343
### The power of the set - `int powerOfTheSet (Node* first)`
44-
*Input parameters:* a pointer to the first item in the list.
45-
*Output parameters:* integer value.
44+
*Input parameters:* a pointer to the first item in the list. <br>
45+
*Output parameters:* integer value.<br>
4646
<a name="l16"></a>
4747
### Creating a set - `Node* creatingSet(int quantity, int min, int max, int k)`
48-
*Input parameters:* the number of elements, the range of acceptable values (from min to max). k is the multiplicity coefficient for checking the satisfaction of the condition.
49-
*Output parameters:* a pointer to the first element of the result list. Generation of values by a random number sensor.
50-
*Requirement:* check the possibility of creating a set with the specified parameters.
48+
*Input parameters:* the number of elements, the range of acceptable values (from min to max). k is the multiplicity coefficient for checking the satisfaction of the condition.<br>
49+
*Output parameters:* a pointer to the first element of the result list. Generation of values by a random number sensor. <br>
50+
*Requirement:* check the possibility of creating a set with the specified parameters.<br>
5151
<a name="l17"></a>
5252
### Output of elements of the set - `string printSet(Node* first, string separator)`
5353
*Input parameters:* a pointer to the first element of the list, a separator character. <br>

0 commit comments

Comments
 (0)