You have already learned that cout is used to output /print values. Now we will use cin to get user input.
cin is a predefined variable that reads data from the keyboard with the extraction operator .
What is C++?
C++ is a cross-platform language that can be used to create high-performance applications.
C++ was developed by Bjarne Stroustrup, as an extension to the C language.
C++ gives programmers a high level of control over system resources and memory.
The language was updated 4 major times in 2011, 2014, 2017, and 2020 to C++11, C++14, C++17, C++20.
Why Use C++ ?
C++ is one of the world's most popular programming languages.
C++ can be found in today's operating systems, Graphical User Interfaces, and embedded systems.
C++ is an object-oriented programming language which gives a clear structure to programs and allows code to be reused, lowering development costs.
C++ is portable and can be used to develop applications that can be adapted to multiple platforms.
C++ is fun and easy to learn!
As C++ is close to C, C# and Java, it makes it easy for programmers to switch to C++ or vice versa.
Watch video Input in C++ || C++ Complete Course || Beginners to Advance| Urdu/Hindi | BJM Technologies online without registration, duration hours minute second in high quality. This video was added by user BJM Technologies 21 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2 once and liked it people.