Fixed typo

This commit is contained in:
2021-03-10 12:29:57 -05:00
parent 45ff536134
commit 0161203fc9

View File

@@ -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