rglen6618 rglen6618
  • 20-02-2018
  • Computers and Technology
contestada

Write a local function named maxvalue that returns the maximum of two inputs numa and numb.

Respuesta :

pbzepplin
pbzepplin pbzepplin
  • 02-03-2018
Here is a function in Delphi:

function maxvalue(numa, numb: integer): integer;
var
    biggest: integer;
begin
    if numa >= numb then
        biggest := numa;
    else
        biggest := numb;
    end;

    Return biggest; 
end;
Answer Link

Otras preguntas

Can someone please help me with this physics question? I'm desperate! A track team is practicing for a 4 x 100 m relay race. The first runner, Linda, is running
rephrase the following sentences using possessive pronouns or a prepositional phrase to clarify. 1) Ellos tienen el programa de Elena y el de Ramón. 2) Los ami
is noise energy a kind of energy or not
Name the postulate or theorem you can use to prove the triangles congruent SSS AAS ASA SAS
I need help solving this math problem
a gas has a volume of 7L and a mass of 4.44*10^5 micrograms. what is it's density
Determine the value of K that will cause f(x)=Kx^2+4x-3 to intersect the line g(x)=2x-7 at one point. SHOW ALL YOUR STEPS, DON'T USE DECIMALS INSTEAD USE FRACTI
Help me this question
Please help explanation if possible
help help help help help help help help