fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6.  
  7. int age = 28;
  8. string name = "Salaam";
  9. cout<<"The person "<<name<<" is of age " << age<<endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
The person Salaam is of age 28