• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » C++ » C++ Control Structure

What is Continue statement in C++

By Dinesh Thakur

Continue statement is used for continuing a loop when an unexpected condition occurs. Basically this statement helps in passing control to the beginning of the loop. [Read more…] about What is Continue statement in C++

Switch ….Case Statement

By Dinesh Thakur

The statement tests the value of a variable against a list of integer or character constants. If the variable matches any of the constants, statements associated with that constant (case) are executed. If there is more than one statement following any case, the statements are enclosed in curly brackets. Value of the switch variable should be provided before the switch statement. [Read more…] about Switch ….Case Statement

Write C++ program finds the sum of the series using do..while loop.

By Dinesh Thakur

[Read more…] about Write C++ program finds the sum of the series using do..while loop.

Write C++ program exit() function

By Dinesh Thakur

This function causes the program to terminate from any portion of the program and does not have any return value. It has only one argument whose value is returned to the operating system when the program is terminated. This function is included in the <stdlib.h> header file. Hence this header file must be included in the beginning of the program. [Read more…] about Write C++ program exit() function

Write C++ program finds the real root of an equation using Newton Raphson technique.

By Dinesh Thakur

The desired accuracy is upto 6 decimal places. The formula for finding a real root of an equation f(x) = 0 is given by [Read more…] about Write C++ program finds the real root of an equation using Newton Raphson technique.

Write C++ program Illustrates if statement.

By Dinesh Thakur

[Read more…] about Write C++ program Illustrates if statement.

Jump Statements in c++ or Goto statement

By Dinesh Thakur

Jump statements are used to alter the flow of control unconditionally. That is, jump statements transfer the program control within a function unconditionally. The jump statements defined in C++ are break, continue, goto and return. In addition to these jump statements, a standard library function exit () is used to jump out of an entire program. [Read more…] about Jump Statements in c++ or Goto statement

Iteration Statements or Loops in C++

By Dinesh Thakur

The statements that cause a set of statements to be executed repeatedly either for a specific number of times or until some condition is satisfied are known as iteration statements. That is, as long as the condition evaluates to True, the set of statement(s) is executed. The various iteration statements used in C++ are for loop, while loop and do while loop. [Read more…] about Iteration Statements or Loops in C++

Conditional Statements in C++ or if Statements

By Dinesh Thakur

Conditional statements, also known as selection statements, are used to make decisions based on a given condition. If the condition evaluates to True, a set of statements is executed, otherwise another set of statements is executed. [Read more…] about Conditional Statements in C++ or if Statements

Write A C++ Program Using A For Loop With Continue.

By Dinesh Thakur

[Read more…] about Write A C++ Program Using A For Loop With Continue.

Write A C++ Program Using A Break In For Loop To Exit.

By Dinesh Thakur

[Read more…] about Write A C++ Program Using A Break In For Loop To Exit.

Write A C++ Program To Use Backward Goto.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Use Backward Goto.

Write A C++ Program To Use Forward Goto.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Use Forward Goto.

Write A C++ Program To Print The First N Tables.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Print The First N Tables.

Write A C++ Program To Find The Average Of N Numbers By Using The For Loop.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Find The Average Of N Numbers By Using The For Loop.

Write A C++ Program To Simplest For Loop.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Simplest For Loop.

Write A C++ Program To Find The Average Of N Numbers Using Do-While () Loop.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Find The Average Of N Numbers Using Do-While () Loop.

Write A C++ Program To Find The Average Of N Numbers Using While() Loop.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Find The Average Of N Numbers Using While() Loop.

Write A C++ Program To Solve The Function By Using The Nested Conditional Statement.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Solve The Function By Using The Nested Conditional Statement.

Write a C++ Program to detect whether the entered number is even or odd. Use nested switch () case statement.

By Dinesh Thakur

[Read more…] about Write a C++ Program to detect whether the entered number is even or odd. Use nested switch () case statement.

Write A C++ Menu Driven Program

By Dinesh Thakur

[Read more…] about Write A C++ Menu Driven Program

Write A C++ Program To Print The Color According To The Code.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Print The Color According To The Code.

Write a C++ Program to Display Time.

By Dinesh Thakur

[Read more…] about Write a C++ Program to Display Time.

Write A C++ Program To Display The Color According To Its Code Which Will Illustrate The Concept Of Ladder If Statement.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Display The Color According To Its Code Which Will Illustrate The Concept Of Ladder If Statement.

Write A C++ Program To Find Greatest Number Among Three Integer Numbers.

By Dinesh Thakur

In the example, the user is prompted to enter values for three numbers a, b and c. It then checks for the test condition (a>b). If this condition is true then it checks for the test condition (a>c) using the if-else block contained in it. If the condition (a>c) evaluates to true then the message a is the Greatest is displayed otherwise the message c is the Greatest is displayed. [Read more…] about Write A C++ Program To Find Greatest Number Among Three Integer Numbers.

Write A C++ Program To Verify is A Number is Divisible By 3 & 5 Or Not.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Verify is A Number is Divisible By 3 & 5 Or Not.

Write a C++ Program to Find out Whether It is An Odd Number Or Even Number. Any Integer is Input through the Keyboard.

By Dinesh Thakur

This if-else statement prints whether an integer number n is odd or even. A number is even if it is divisible by 2. Thus, if expression n % 2 == 0 is true, number n is even; otherwise it is odd. Alternatively, we can write this if statement as follows: [Read more…] about Write a C++ Program to Find out Whether It is An Odd Number Or Even Number. Any Integer is Input through the Keyboard.

Write A C++ Program To Check Whether The Candidate’s Age Is Greater Than 17 Or Not. If Yes, Display Message “Eligible For Voting”.

By Dinesh Thakur

[Read more…] about Write A C++ Program To Check Whether The Candidate’s Age Is Greater Than 17 Or Not. If Yes, Display Message “Eligible For Voting”.

What is Control Statements?Explain

By Dinesh Thakur

The Control Statements are used for controlling the Execution of the program there are the three control statements those are break, goto, continue. [Read more…] about What is Control Statements?Explain

What is to Loop? Type of Loop

By Dinesh Thakur

A Computer is used for performing many Repetitive types of tasks The Process of Repeatedly performing tasks is known as looping .The Statements in the block may be Executed any number of times from Zero to Up to the Condition is True. The Loop is that in which a task is repeated until the condition is true or we can say in the loop will Executes all the statements are until the given condition is not to be false. [Read more…] about What is to Loop? Type of Loop

Next Page »

Primary Sidebar

C++ Tutorials

C++ Tutorials

  • C++ - Data Types
  • C++ - Operators Types
  • C++ - CPP Program Structure
  • C++ - Conditional Statements
  • C++ - Loop
  • C++ - do-While Loop
  • C++ - Control Statements
  • C++ - Tokens
  • C++ - Jump Statements
  • C++ - Expressions
  • C++ - Constants
  • C++ - Character Set
  • C++ - Iteration Statements
  • C++ - I/O Statements
  • C++ - String
  • C++ - Manipulators

C++ Operator

  • C++ - Input/Output Operator
  • C++ - Operator Overloading

C++ Functions

  • C++ - Functions
  • C++ - Member Functions
  • C++ - Returning Object from Function
  • C++ - Call by Value Vs Reference
  • C++ - Friend Function
  • C++ - Virtual Function
  • C++ - Inline Function
  • C++ - Static Data Members
  • C++ - Static Member Functions

C++ Array & Pointer

  • C++ - Array
  • C++ - Array of Objects
  • C++ - Arrays as Class Members
  • C++ - Vector
  • C++ - Pointer
  • C++ - 'this' Pointer

C++ Classes & Objects

  • C++ - Class
  • C++ - Program Structure With Classes
  • C++ - OOP’s
  • C++ - Objects as Function Arguments
  • C++ - Procedure Vs OOL
  • C++ - Object Vs Class
  • C++ - Creating Objects
  • C++ - Constructors
  • C++ - Copy Constructor
  • C++ - Constructor Overloading
  • C++ - Destructor
  • C++ - Polymorphism
  • C++ - Virtual Base Class
  • C++ - Encapsulation

C++ Inheritance

  • C++ - Inheritance
  • C++ - Multiple Inheritance
  • C++ - Hybrid Inheritance
  • C++ - Abstraction
  • C++ - Overloading

C++ Exception Handling

  • C++ - Exception Handling
  • C++ - Templates
  • C++ - Standard Template Library

C++ Data Structure

  • C++ - Link List

C++ Programs

  • C++ Program for Electricity Bill
  • C++ Program for Multiply Matrices
  • C++ Program for Arithmetic Operators
  • C++ Program For Matrices
  • C++ Program for Constructor
  • C++ Program Verify Number
  • C++ Program Array Of Structure
  • C++ Program to find Average Marks
  • C++ Program Add And Subtract Matrices
  • C++ Program Menu Driven
  • C++ Program To Simple Interest
  • C++ Program To Find Average
  • C++ program exit()
  • C++ Program Using Array Of Objects
  • C++ Program Private Member Function
  • C++ Program To Reverse A String
  • C++ Program to Operator Overloading

Other Links

  • C++ - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW