mirror of
https://bitbucket.org/Mattrixwv/projecteulerts.git
synced 2025-12-06 17:43:59 -05:00
Fixed typo
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user