Jump to content

Parameters

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Ryut3k

Ryut3k

    Newbie

  • Members
  • Pip
  • 8 posts
//How can I define the volume? Dont understand

var multiply = function (x, y) {
return x * y;
}

multiply(2, 5);

var volume = function (w, l ) {
return w *;
}

volume(2, 3, 4, 5);
return x * y * w * l;

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Volume of what?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Ryut3k

Ryut3k

    Newbie

  • Members
  • Pip
  • 8 posts
sorry for late reply but I need to recall the volume oh and last line "return x*y*... thats a mistake.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users