Login


Lost your password?

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


Shop
CPP All : Pattern printing loops
Concept Learning Code Sheets

Pattern – Inverted right half triangle of symbol #2464

Printing the inverted right half triangle made of same symbol as per row count given by the user.

Pattern – Upright right half triangle of symbol #2470

Printing the upright right half triangle made of same symbol as per row count given by the user.

upright triangle with user given character #2482

Printing an upright triangle filled with user given character.

Inverted triangle with user given character #2804

Printing an inverted triangle filled with user given character.

Upright right half triangle of numbers #2809

Print the right half upright pyramid of increasing numbers.

Upright right half triangle of alphabets (column-wise increasing) #2814

Print the right half upright pyramid of column wise increasing alphabets like follows –
A
A B
A B C

Upright right half triangle of alphabets (row-wise increasing) #2854

Print the right half upright pyramid of row wise increasing alphabets like follows –
A
B B
C C C
…………..

 

 

Printing the Flyod’s Triangle #2856

Printing the Flyod’s triangle of numbers which are increasing in both row and column wise fashion

Upright Hollow Triangle with given base size #3111

Printing upright hollow triangle with given base size.

Downward Hollow Triangle with given base size and left offset #3116

Printing downward hollow triangle with given base size and left offset.

Printing a diamond pattern #3124

A program that prints a diamond pattern of stars where a size unit is given in form of half of the diamond height.

Printing a damru/dumbbell pattern #3128

A program that prints a damru or dumb bell pattern of stars where a size unit is given in form of half of the damru height.

Pascal’s Triangle Printing #3173

Printing a pascal’s triangle of given number of rows.

Solved Problems

Triangular Number series using the Flyod’s triangle method #2860

Write a program to print a series of triangular numbers starting 1 using the

Write a program to print a series of triangular numbers starting 1 using the property of a flyod’s triangle where the right most number is a triangular number. Accept the number of terms to be printed from the user. The series output would be 1 3 6 10 15 ……


Code Sheets:13  Solved Problems:1 
×
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