Input and Output in C++
Input in C++
Used to take user input:
int age;
cin >> age;
Output in C++
Used to display output:
cout << “Hello”;
Example
int age;
cin >> age;
cout << age;
Used to take user input:
Used to display output:
Send us your inquiry and start your journey towards a successful IT career.
✔ 100% Secure ✔ No Spam ✔ Instant Response
WhatsApp us