---
title: "Discussion on \"Iterative Statements in cpp\" | Hashnode"
description: "Discussion on \"Iterative Statements in cpp\". Iterative statements, also known as loops, are used in C++ to execute a block of code repeatedly. There are three types of loops in C++: the for loop, the while loop, and the do-while loop.\nHere is the syntax for each of these loops:\n1) for loop\nfor ..."
url: "https://hashnode.com/posts/iterative-statements-in-cpp/6410b7e2b1b82d6c67212654"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Iterative Statements in cpp](https://adwaitk44.hashnode.dev/iterative-statements-in-cpp?utm_source=hashnode&utm_medium=feed)

Iterative statements, also known as loops, are used in C++ to execute a block of code repeatedly. There are three types of loops in C++: the for loop, the while loop, and the do-while loop. Here is the syntax for each of these loops: 1) for loop for ...

Mar 14, 2023 · 2 min read · adwaitk44.hashnode.dev  
Updated Mar 21, 2023  
Read the article

## Written by

[Adwait Umesh Kharkar](https://hashnode.com/@adwaitk44)

@adwaitk44

  
[View profile](https://hashnode.com/@adwaitk44)

## Responses 1

Markdown supported · ⌘↵ to post

[Sadik Fakir](https://hashnode.com/@Saddy)

[Jun 30, 2023](https://hashnode.com/posts/iterative-statements-in-cpp/6410b7e2b1b82d6c67212654/comment/649ec50a2a0936ab01ee284d)

Your work is really meant to us...
