Answers for "triangle sum of odds numbers formula"

0

triangle sum of odds numbers formula

function rowSumOddNumbers(n) {
	return Math.pow(n,3)
}

console.log(rowSumOddNumbers(1))
console.log(rowSumOddNumbers(2))
console.log(rowSumOddNumbers(3))
console.log(rowSumOddNumbers(4))
console.log(rowSumOddNumbers(5))
console.log(rowSumOddNumbers(42))
Posted by: Guest on October-09-2021

Code answers related to "triangle sum of odds numbers formula"

Code answers related to "Javascript"

Browse Popular Code Answers by Language