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

49. The potential energy of a spring is 0.3 J when it is compressed 0.04 m to the left of its equilibrium position. At thispoint it comes to its leftmost positi
A card is drawn from a standard deck and a letter chosen from the word INCREDIBLE. What is the probability of drawing a king then getting an I
The scores of a psychology exam were normally distributed with a mean of 70 and a standard deviation of 5 a failing grade on the exam was anything two or more s
What is the Least common denominator of 11/4 and 5/6
what is the range of f(x)= -x^2+4if the domain is {2, 0, 1}
do you support Michigan Complied laws regarding brain death?
Besides,They’ll see how beautiful I amAnd be ashamed—How do the lines advance a sense of cultural nationalism?​
Over the summer, Manny read 45 books and 15 magazines. The value of the book to magazine ratio is
PLEASE HELP BRAINLIEST ANSWER Two forces are shown acting on a body below. Calculate the equilibrant force on the body and state what effect it will have on t
Is Your clothes get clean, and the environment stays green a slogan?