CPP All : Series printing loops

It is possible to build many series expression easily when we take different variables for term counting and term expression building.

Writing 10 terms of a series based on x^2+x+1 where x is taken from user.

Printing 10 terms of Fibonacci series starting from 1 like 1 1 2 3 5 8 13 21 34 55 . All terms are printed using the loop.

Printing 10 terms of Fibonacci series starting from 0 like 0 1 1 2 3 5 8 13 21 34 . All terms are printed using the loop.

Printing 10 terms of Fibonacci series starting from 0 like 0 1 1 2 3 5 8 13 21 34 . First two terms are printed as fixed terms and rest all terms are printed using the loop.

Printing the simple geometric series and finding its sum

Using a bool output function isPrime() which has multiple return paths for prime number check and then using this function to print a prime series for given number of terms

Printing a descending order series – Numbers divisible by 3 from 30 to 1.

Assume that first two terms of a series are 10 and 11. Then use the Fibonacc

Write a program to print odd numbers series up to 20 terms beginning from 13.

Write a program to find the sum of the following series if x is 3 and n is 5

Write a program to find the sum of the following series upto 5 terms. Also pr

Write a program to find the sum of following series with any looping statemen

Code Sheets:11 Solved Problems:8

×