---
title: "Discussion on \"Control Statements\" | Hashnode"
description: "Discussion on \"Control Statements\". \" NESTED IF \" STATEMENT\n#include <iostream>\nusing namespace std;\n\nint main(){\n\n    int x, y, z;\n\ncout << \" Enter three numbers  \\n\";\ncin >> x >> y >> z ;\n\nif ( x > y ) \n{\n   if (x >z) {\n       cout << \" The greatest number is : \" << x; }\n\n   else \n  ..."
url: "https://hashnode.com/posts/control-statements/66c45fb139231cfbdd4a26dd"
---

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

Discussion

# [Control Statements](https://shahalpp.hashnode.dev/control-statements?utm_source=hashnode&utm_medium=feed)

" NESTED IF " STATEMENT #include <iostream> using namespace std; int main(){ int x, y, z; cout << " Enter three numbers \\n"; cin >> x >> y >> z ; if ( x > y ) { if (x >z) { cout << " The greatest number is : " << x; } else ...

Aug 20, 2024 · 5 min read · shahalpp.hashnode.dev  
Updated Aug 27, 2024  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)

## Written by

[Muhammed Shahal pp](https://hashnode.com/@shahal)

@shahal · Kerala,India

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

Aspiring Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
