blob: 3a652e0f2935ab947225d542f50edf5e0078593b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <iostream>
#include "Header.h"
#include "Node.h"
using std::cin;
using std::cout;
using std::endl;
void Swap(Node* first, Node* second)
{
int test;
test = first->data;
first->data = second->data;
second->data = test;
cout << test << endl;
}
void Standardize_101(Node* newNode)
{
newNode->data = newNode->data % 101;
}
void Square(Node* nextNode)
{
nextNode->data = nextNode->data * nextNode->data;
}
|