fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. string message[] = {"Hello ", "World"};
  6. int i;
  7.  
  8. int main() {
  9. // your code goes here
  10. for(i = 0; i < 2; ++i)
  11. cout<<message[i];
  12. return 0;
  13. }
Success #stdin #stdout 0s 4200KB
stdin
Standard input is empty
stdout
Hello World