No 1 tech
Thursday, June 18, 2015
Input Statement (cin) in C++
cin (console input)
– It is used to read/input value of variables from the keyboard.
Syntax :-
cin >> variable_name;
Ex: -
cin >> a;
where
>>
is known as extraction or get from operator.
cin >> a
where a is variable.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment