fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int x=10;
  7. int y=25;
  8. int z=x+y;
  9.  
  10. cout<<"Sum of x+y = " << z;
  11. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
Sum of x+y = 35