Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp cin

// C++ program to demonstrate the
// cin object
#include <iostream>
using namespace std;
  
// Driver Code
int main()
{
    string s;
  
    // Take input using cin
    cin >> s;
  
    // Print output
    cout << s;
  
    return 0;
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #cpp #cin
ADD COMMENT
Topic
Name
8+6 =