C++ Program : Read 3 numbers from stdin and print their sum to stdout ? on July 29, 2022 Get link Facebook X Pinterest Email Other Apps In C++, you can read a single white space-separated token of input using "cin", and print output to stdout using "cout". #include <iostream>using namespace std;int a,b,c;int main() { cin >> a >> b >>c; cout << a+b+c; }