aboutsummaryrefslogtreecommitdiff
path: root/InClassExercise 9/program.cpp
blob: 03395351de1581e51258de867c1ae9867276ff71 (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
// Name: Asahel Lopez
// Date: 2/6/24
// Class: CST 116
// Assignment: InClassExercise9

#include <iostream>
#include "ReferenceExamples.h"

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

int main() {
	int x = 5, y = 72;

	Swap(x, y);

	std::cout << "x = " << x << ", y = " << y << endl;

	int n = 4392;

	Standardize_101(n);

	cout << "Modded n = " << n << endl;

	Square(n);

	cout << "Squared n = " << n << endl;

	cout << " Size of an int" << sizeof(int);
}