What is the output of the following program and show all your workings?public class Main{public static void main(String[] args) {System.out.printin(mystery(5));}static int mystery(int num){if(num <=>=>return 1;else{return mystery(num-1) + mystery(num—2) ;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here