blob: 9bfdcbd1c5392ce78ef3d5cff39723148d834e0e (
plain)
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
|
# Homework 4
*Alexander Pickering* (amp215@pitt.edu)
**Implement a bubble sort or a selection sort algorithm to sort the array of words from last week’s assignment. Include your source code and a screen capture demonstrating that your input is sorted before being printed.**

<style>
body{
/*margin:40px auto;*/
max-width:80%;
line-height:1.6;
font-size:18px;
color:#444;
padding:0 10px
}
h1,h2,h3{line-height:1.2}
img{
display:block;
max-width:100%;
}
@media print {
pre,img{page-break-inside:avoid}
}
</style>
<link rel="stylesheet" href="./styles/atom-one-light.css">
<script src="./highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
|