![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
EJEMPLO:
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
import javabook.*; //aqui van las librerias}
public class MiClase //aqui va el nombre de mi clase
{
public static void main(String args[]) //aqui comienza mi main
{
//aquí va código, es decir, variables, ctes, llamadas a funcion
}
public static int funcion( int x ) //en esta parte van las funciones
{
return ( valor ); //aquí va el código de la funcion
}
}
ESO ES LO QUE NECESITO, CLARO, CON UN POQUÍTO MÁS DE DETALLES
POR FAVOR, A Y U D A!!!!!!!