blob: 59231d5b95f35bfb3e462c22f2290eb3a0cff6e5 (
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
34
35
|
// 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 newNode{};
newNode.data = 32;
cout << newNode.data << endl;
Node nextNode{};
nextNode.data = 438;
newNode.next = &nextNode;
Swap(&newNode, &nextNode);
Standardize_101(&newNode);
Square(&nextNode);
return 0;
}
|