Function definition: Difference between revisions

Content deleted Content added
fix markup
Line 3:
 
Write a definition of a function called "multiply" that takes two arguments and returns their product.
 
=={{header|Ada}}==
[[Category:Ada]]
function multiply(a : float; b : float) return float is
begin
return a * b;
end multiply;
 
=={{header|C}}==