aboutsummaryrefslogtreecommitdiff
path: root/Inclass 10/program.cpp
blob: d3f80055fcfaef278a6ef0c41257f98808ab7230 (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
// name: Connor McDowell
// date: 2/8/2024
// class: CIS116
// reason: Inclass exercise 10

#include <iostream>
#include "Header.h"
#include "Node.h"

using std::cin;
using std::cout;
using std::endl;

int main()
{
	Node firstNode{};
	Node secondNode{};
	Node thirdNode{};

	firstNode._data = 24;
	secondNode._data = 16;
	thirdNode._data = 4;


	Swap(&firstNode, &secondNode);

	Standardize_101(&thirdNode);

	Square(&thirdNode);

	return 0;
}