From 6d91a1eedefb016e36ccf30596d16d68ee843f33 Mon Sep 17 00:00:00 2001 From: sandyboypraper Date: Mon, 14 Dec 2020 12:30:03 +0530 Subject: [PATCH] some changes in coding style to make it standerize --- Maths/EulersTotientFunction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maths/EulersTotientFunction.js b/Maths/EulersTotientFunction.js index 338154d4e..34377036d 100644 --- a/Maths/EulersTotientFunction.js +++ b/Maths/EulersTotientFunction.js @@ -19,7 +19,7 @@ const gcdOfTwoNumbers = (x, y) => { const eulersTotientFunction = (n) => { let countOfRelativelyPrimeNumbers = 1 - for (let iterator = 2; iterator <= n; iterator++){ + for ( let iterator = 2; iterator <= n; iterator++ ){ if (gcdOfTwoNumbers(iterator, n) === 1)countOfRelativelyPrimeNumbers++ } return countOfRelativelyPrimeNumbers