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

Write a multiplication expression represented by the area model. then find the product. a drawing shows a model of 10 by 10. it shows the first seven columns, a
PLEASE ANSWER QUICK 45 POINTS :) Determine this period
pls answer this question​
The number ax10² is about 8 times greater than b×10³. Find the correct value of a and b.
A solar storage power station is a new type of solar power station. it is able to store energy from the sun to generate electricity at night. the solar storage
Which equation has no solution? 4(x 3) 2x = 6(x 2) 5 2(3 2x) = x 3(x 1) 5(x 3) x = 4(x 3) 3 4 6(2 x) = 2(3x 8).
How adversity affect Eddie Jaku (the happiest man on earth) journey (in life, for example)?
If u answer this I'll give Brainiest!
Reviewing a Media Analysis What should you include in your media analysis essay? Sort the tiles into the correct categories. Do Not Include the intended audienc
Why is daisy crying over shirts? is she really crying over shirts? or could she be "sad" about something else? is gatsby trying too hard here? what does he thin