fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. int num1 = 10;
  7. int num2 = 10;
  8. int num3 = (num1 + num2);
  9. cout<<" "<<num1<<" "<<num2<<" "<<num3<<endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
 10 10 20