Skip to content

Commit 0ea0a28

Browse files
authored
Update arguments.js
Fixed some formating in code and comments
1 parent c5654dd commit 0ea0a28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arguments.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function generateMatrix(rows,columns)
2929
ROW: x x x x x x
3030
3131
COLUMN: x
32-
x
33-
x
32+
x
33+
x
3434
*/
3535
for(var row = 0; row < rows; row++)
3636
{
@@ -54,7 +54,7 @@ function generateMatrix(rows,columns)
5454
//Purpose: Shows the calculated result in Browser
5555
function Calculate(fixed, variadic)
5656
{
57-
var result = document.getElementById('result');
57+
var result = document.getElementById('result');
5858
var usrInput = document.getElementById('usr-input').value;
5959

6060
//After the matrix is generated, its elements should be accessible
@@ -89,7 +89,7 @@ function Calculate(fixed, variadic)
8989
*/
9090
function calcAverageOfMatrix(matrix)
9191
{
92-
var sum = 0;
92+
var sum = 0;
9393
var quantity = matrix.length;
9494

9595

0 commit comments

Comments
 (0)