diff --git a/Problems/Problem6.ts b/Problems/Problem6.ts index afd9d71..25fbd07 100644 --- a/Problems/Problem6.ts +++ b/Problems/Problem6.ts @@ -1,7 +1,7 @@ -//ProjectEulerTS/Problems/Problem5.ts +//ProjectEulerTS/Problems/Problem6.ts //Matthew Ellison -// Created: 10-26-20 -//Modified: 10-26-20 +// Created: 03-10-21 +//Modified: 03-10-21 //Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum. //Unless otherwise listed all non-standard includes are my own creation and available from https://bibucket.org/Mattrixwv/typescriptClasses /* @@ -31,7 +31,7 @@ export class Problem6 extends Problem{ //Static variables private static START_NUM: number = 1; //The first number that needs to be counted private static END_NUM: number = 100; //The last number that needs to be counted - //Instance vairables + //Instance variables private sumOfSquares: number; //Holds the sum of the squares of all the numbers private squareOfSum: number; //Holds the square of the sum of all the numbers