Skip to content

Commit

Permalink
feat: fix/lesson_07-nilejack
Browse files Browse the repository at this point in the history
  • Loading branch information
nilejack committed Oct 14, 2024
1 parent 194e485 commit 1824990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lesson_07/conditionals/src/lesson7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function convertGpaToLetterGrade(gpa: number): string {
*/
export function computeFactorial(n: number): number {
let product = 1;
for (let i = 1; 1 <= n; i++) {
for (let i = 1; i <= n; i++) {
product *= i;
}

Expand Down

0 comments on commit 1824990

Please sign in to comment.