Question: C programming. Beginner level. Input from the user. write a C program to print the following series: 1 2 5 26 677 ..... such that
C programming. Beginner level. Input from the user. write a C program to print the following series: 1 2 5 26 677 ..... such that the nth value equals to (n-1 th)^2 +1 and the first value is 1. Write a recursion function named myFunc to compute the nth value. Use for loop to print the first 6 values.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
