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

An open fracture is most accurately defined as a fracture in which emt
The blood vessels that move blood in the direction of the heart are called
How do the responsibilities of citizenship reflect our identity as a democratic nation?
Mandy is testing an unknown solution to determine whether it is an acid or a base. She places a piece of red litmus paper into the solution and the paper turns
Congress took over resconstruction from president Johnson after
Jack started working as a waiter . The first week he received 50$ in tips . The tips grew by 2% each week
sin(a)+sin(b)=sqrt(5/3) and cos(a)+cos(b)=1. Compute cos(a-b). I drew out triangles and modeled the sines and cosines of a and b, but that doesnt help me find c
In the parallelogram, m∠KLO = 68 and m∠MLO = 61. Find m∠KJM. The figure is not to scale.
which word is a demonstrative adjective my,brown,very,these in this sentence THESE BROWN shoes fit MY feet VERY well.
Which would be most responsible for prolonging a wound healing in the older resident? A. Depression B. Increased social contacts C. An increase in the adipose t