Skip to content

Commit 8dde169

Browse files
author
Joshua Scott
authored
added comments to clarify what the set-up variables do
1 parent da87ebd commit 8dde169

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Program.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ public class Program
99
* Edit these variables to set up!
1010
*/
1111
const string sortingAlgorithm = CallSpecifiedSort.A, // B/S/I/Q/M/A (denoting Bubble/Selection/Insertion/Quick/Merge/All)
12-
orderOfInitalArray = CallSpecifiedSort.r; // a/d/r (denoting ascending/descending/random)
13-
const ulong numberOfSorts = 5;
14-
const int lengthOfArray = 5;
15-
const bool printUpdates = true;
12+
orderOfInitalArray = CallSpecifiedSort.r; // a/d/r (denoting ascending/descending/random)
13+
const ulong numberOfSorts = 5; // how many times to sort the array
14+
const int lengthOfArray = 5; // how many elements to sort. Use no more than 99 if printUpdates is true
15+
const bool printUpdates = true; // whether to print the array and information at each operation
1616

1717
static void Main(string[] args)
1818
{

0 commit comments

Comments
 (0)