---
title: "Discussion on \"Conditional Statements in cpp\" | Hashnode"
description: "Discussion on \"Conditional Statements in cpp\". Conditional statements in C++ allow a program to make decisions based on whether certain conditions are true or false. The most common conditional statements are if, else if, and else.\n1) if statement\nHere is the syntax for the if statement:\nif (cond..."
url: "https://hashnode.com/posts/conditional-statements-in-cpp/6410b568c814bd7815a8b00e"
---

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

Discussion

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

Conditional statements in C++ allow a program to make decisions based on whether certain conditions are true or false. The most common conditional statements are if, else if, and else. 1) if statement Here is the syntax for the if statement: if (cond...

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

-   [#cpp-ck4ra5k7300nlv2s1jbkdp2qh](https://hashnode.com/tag/cpp-ck4ra5k7300nlv2s1jbkdp2qh)
-   [#logic](https://hashnode.com/tag/logic)
-   [#blog](https://hashnode.com/tag/blog)
-   [#coding](https://hashnode.com/tag/coding)

## 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/conditional-statements-in-cpp/6410b568c814bd7815a8b00e/comment/649ec5365b8c3caad1788ace)

Very well explained the topic...
