1. Write a program that includes the recursive method and then call the method to calculate Sum = XXXXXXXXXX.
Hint: refer to #1 of M7 Code Examples.
2. Write a program that includes the recursive method that will sum up the fraction numbers: S(n) = 1/2 + 2/ XXXXXXXXXXn-1)/n, and then call the method to calculate S (10) = 1/2 + 2/ XXXXXXXXXX/10. Display the result to one decimal place. Hint: S(n) = S(n-1) + (n-1)/n.
Hint: refer to #3 of M7 Code Examples.
3. Write a program that includes the recursive method and then call the method to print all even numbers from 10 to 20.
Hint: refer to #7 of M7 Code Examples.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here