fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. int a=50;
  6. int b=10;
  7.  
  8. std::cout << "Hello, World!" << std::endl;
  9. std::cout << a << " + " << b << " = " << a+b << std::endl;
  10. }
  11.  
Success #stdin #stdout 0.01s 2724KB
stdin
Standard input is empty
stdout
Hello, World!
50 + 10 = 60