fork download
  1. /***********************************************************************
  2.  * Write a program that stores the integers 62 and 99 in variables, and stores the sum of
  3. these two in a variable named total.
  4.  * __________________________________________________
  5.  * Stores the two integers 62 99 and the sum in total.
  6.  * __________________________________________________
  7.  * OUT
  8. *total
  9. ***********************************************************************/
  10. #include <iostream>
  11. using namespace std;
  12.  
  13. int main()
  14. {
  15. int num1 = 62;
  16. int num2 = 99;
  17. int total = num1 + num2;
  18. return 0;
  19. }
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
Standard output is empty