ifyouwanttogetthesumoftwonumberswherethosetwonumbersarechosenbyfindingthelargestoftwooutofthreenumbersandsquaringthemwhichismultiplyingthembyitselfthenyoushouldinputthreenumbersintothisfunctionanditwilldothatforyou

0.0.1 • Public • Published

ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou

it's easy!

var ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou = require('../ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou')

var actual = ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou(1,2,3)

var expected = 13

console.log(actual === expected, actual, expected)

Inspiration

See the last solution

/ifyouwanttogetthesumoftwonumberswherethosetwonumbersarechosenbyfindingthelargestoftwooutofthreenumbersandsquaringthemwhichismultiplyingthembyitselfthenyoushouldinputthreenumbersintothisfunctionanditwilldothatforyou/

    Package Sidebar

    Install

    npm i ifyouwanttogetthesumoftwonumberswherethosetwonumbersarechosenbyfindingthelargestoftwooutofthreenumbersandsquaringthemwhichismultiplyingthembyitselfthenyoushouldinputthreenumbersintothisfunctionanditwilldothatforyou

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • brainss