7h/Numbers.java
public int printNum(int num) {
        if (num <= 1) {
            return num;
        }
        return printNum(num - 1) + num;
    }
//Write the recursive method to sum of all of the integers from zero up to the number entered
Write the recursive method to sum of all of the integers from zero up to the number entered
Write the recursive method to sum of all of the integers from zero up to the number entered
public int printNum(int num) {
        if (num <= 1) {
            return num;
        }
        return printNum(num - 1) + num;
    }
public int printNum ( int num ) { if ( num <= 1 ) { return num ; } return printNum ( num - 1 ) + num ; }
Write the recursive method to sum of all of the integers from zero up to the number entered
Write the recursive method to sum of all of the integers from zero up to the number entered