blob: 4a1bc7aa406427f51feeea011ffa098cf1731235 (
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
33
|
#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, test2;
test = first->data;
test2 = second->data;
first->data = test2;
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;
}
|