---
title: "Discussion on \"Input / Output in C++ : Part 3\" | Hashnode"
description: "Discussion on \"Input / Output in C++ : Part 3\". Taking Input from the Console\nCin\nTo take input from the user via the console, we use the cin statement.\ncin is a predefined variable that reads data from the keyboard with the extraction operator (>>).\nExample1:\nint x; \ncin >> x; // Get user input f..."
url: "https://hashnode.com/posts/input-output-in-c-part-3/63d2116aa3afbaf919c66868"
---

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

Discussion

# [Input / Output in C++ : Part 3](https://lubnafathima.hashnode.dev/input-output-in-c-part-3?utm_source=hashnode&utm_medium=feed)

Taking Input from the Console Cin To take input from the user via the console, we use the cin statement. cin is a predefined variable that reads data from the keyboard with the extraction operator (>>). Example1: int x; cin >> x; // Get user input f...

Jan 26, 2023 · 3 min read · lubnafathima.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#coding](https://hashnode.com/tag/coding)
-   [#learning](https://hashnode.com/tag/learning)

## Written by

[Lubna Fathima](https://hashnode.com/@lubnafathima)

@lubnafathima

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

Web Development

I'm an Information Technology Undergraduate with a keen interest in web development. MERN stack enthusiast and seeking to gain more expertise in backend development. Learning Data Structure Algorithm and contributing to open source.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
