ejemplos
Class ej020

java.lang.Object
  extended byejemplos.ej020

public class ej020
extends java.lang.Object

Title: Funcion maximo

Description: Calcula en maximo de tres numeros enteros

Copyright: Copyright (c) 2005

Company: UMSNH


Constructor Summary
ej020()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static int maximo(int x, int y, int z)
          funcion que calula el maximo de tres numeros dados
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ej020

public ej020()
Method Detail

main

public static void main(java.lang.String[] args)

maximo

public static int maximo(int x,
                         int y,
                         int z)
funcion que calula el maximo de tres numeros dados

Parameters:
x - int numero dado
y - int numero dado
z - int numero dado
Returns:
int mayor de x, y y z