// 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;
}
#include <iostream>
using namespace std;
int main() {
int n1, n2;
float f1;
char c1;
cout<<"Enter two integers, a float and a char: ";
cin>>n1>>n2>>f1>>c1; //multiple input in single line
cout<<"Check: "<<n1<<n2<<f1<<c1<<endl;
return 0;
}
cin >> variable;
// sample 1
int x;
cout << "x: ";
cin >> x;
cout << x << endl;
//sample 2
int num;
for (int i = 0; i < 10; i++){
cout << "Give a number: ";
cin >> num;
}
std::cin >> variable_name; //It takes input from the user
cout >> yourname;
cin >> i;//VarInput(i);