Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
CPP All : Series printing loops
Concept Learning Code Sheets

Square terms series #2353

Printing 10 terms of square terms of natural numbers beginning from 1.

Series building concept with different term expression builder and term counter #2364

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

Series based on x^2+x+1 #2367

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

Fibonacci series from 1 (All terms using loop) #2392

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.

Fibonacci series from 0 (All terms using loop) #2404

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.

Fibonacci series from 0 (Fixed first two terms) #2409

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.

Prime number series #2429

Print a series of prime numbers up to predefined number of terms..

Simple Geometric series 1+x+x^2+..+x^n #2434

Printing the simple geometric series and finding its sum

Multiple return paths in isPrime() function for prime number series #2449

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

Simple descending order series #2459

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

Series of triangular numbers #2864

Program to print the triangular series like – 1 3 5 10 15 ……….


Solved Problems

Two previous terms addition series (like Fibonacci) from another number. #2413

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

Assume that first two terms of a series are 10 and 11. Then use the Fibonacci series rules of adding two previous terms, write a program to print 10 terms of such a series. Also print the sum of all the terms printed.

Odd number series beginning a given number and given term count #2418

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

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

Cube series #2420

Write a program to print the following series up to 15 terms ..
1 8 27

Write a program to print the following series up to 15 terms ..
1 8 27 64 125 …….

Gap increment series #2422

Write a program to print the following series up to 15 terms ..
1 4 8

Write a program to print the following series up to 15 terms ..
1 4 8 13 19 26 …….

Printing Terms and Sum of geometric series x+x^2/2+..+x^n/n #2438

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 if x is 3 and n is 5. Also print the series terms.
x + x^2/2 + x^3/3 + …+x^n/n

Printing and summing series 1/n! form. #2443

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

Write a program to find the sum of the following series upto 5 terms. Also print the series terms.
1/1! + 2/2! + …

Alphabet series #5182

Write a program to print the following alphabet series up to 7 terms.

Write a program to print the following alphabet series up to 7 terms.

C F I L …..

Addition of Series of Numbers Increasing by 10 #5350

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

Write a program to find the sum of following series with any looping statement
12 + 22 + 32 ……… +72


Code Sheets:11  Solved Problems:8 
×
Introductory Sessions Beginning to Program Tokens Keyword and Identifiers Data Types Variables and Constants Operators Simple User Input Building Expressions and Formulas Simple Real World Problems Simple If and If Else Multiple-Nested-Ladder of If Else Switch case selection Simple Loops Tricks in Loops - break continue scope Loop Applications - Handling numerals Series printing loops Nested Loops Pattern printing loops Number Varieties and Crunches String Handling (Null Terminated) Strings - string class type Functions (Built-in) Functions - user defined Functions Reference Passing/Returning Arrays Concepts and 1-D Arrays Array Data Management Two dimensional arrays and Matrices Structures Basics Structures passing/returning Display Using IO Manipulation Display Using C Formatting Tricks User Defined Data Types Enumerated Types Preprocessor Directives And Macros Exception Handling Programming Paradigms and OOPs Advantages Abstraction and Encapsulation Polymorphism Inheritance Function Overloading Concepts Function Overloading Varieties Function Overloading Special Cases Defining Classes Creating and Using Class Objects Class Members Accessibility Class Function Types Inline Functions Constant Functions Nesting of Functions Class Members Scope Resolution Static Members in a Class Array of Objects Constructor Concepts Default Constructor Parameterized Constructor Copy Constructor Constructor Overloading Destructors Inheritance Fundamentals Public Derivations Private and Protected Derivations Multiple Inheritance Mult-Level Inheritance Class Nesting Data File Concepts Handling Text Files Handling Binary Files Pointer Concepts Pointer and Arrays Pointers and Functions Object Pointers This Pointer Linked Lists Stacks Queues


Back