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

Given f x please help me set them up and stuff
using a scale: Three boys Isaac ,Alex and Ken are standing in different parts of a field .Isaac is 100 metres north of Alex and Ken is 120 metres east of Alex .
Find a measure of the missing angle G H K M
why all monosacharides and dissacharides are soluble in water​
A Canadian college student who has taken an astronomy class goes home for the holidays and persuades his parents to let him borrow the family car. When he retur
Answer the following Questions: William Shakespeare lays out the first problem in the play. Before Romeo and Juliet can fall in love, they must meet. What is is
Essay: Funny things that happened to me.(100 words)
Your school is ordering computer equipment. If c represents the cost of one personal computer and p is the cost of one printer. Write an expression for the tota
Identify the major players shown in the simulation: mRNA, Codon, Amino Acid, tRNA, anticodon, ribosome.
Five plus 6 times a number is equal to 21 minus 2 times the number.