fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a=5, b=3, sum;
  7. cout<<a<<endl;
  8. cout<<a<<endl;
  9. sum=a+b;
  10. cout<<"The sum is " <<sum;
  11. return 0;
  12. }
Success #stdin #stdout 0s 4456KB
stdin
Standard input is empty
stdout
5
5
The sum is 8