fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x = 19;
  6. cout << x%10 << endl << x - x%10;
  7. return 0;
  8. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
9
10