fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. std :: string name;
  5. double age;
  6. std :: cin >> name >> age;
  7. std :: cout << "Hello, " << name <<' '<<age*12 <<'\n';
  8. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
Hello,  2.84512e-309