/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package poo;

/**
 *
 * @author felix
 */
public class prueba1 {
    static public void algo(int N) {
        if(N >0) {
            System.out.printf("%d \n", N);
            algo(N-1);
        }      
    }
    
    static public float potencia(int N) {
        int i;
        
        float suma = 1;
        for(i=0; i<N; i++)
            suma *= 2; 
        
        return suma;
    }

    static public void  main(String args[]) {
        //System.out.println(potencia(10));
        algo(5);
    }

}
