fork(1) download
  1. #include <iostream>
  2.  
  3.  
  4. int main() {
  5. double value1 = (50%1000)/100.0 - 5.0;
  6. double value2 = (50%1000)/100 - 5;
  7. std :: cout << value1 << "\n" << value2 << std :: endl ;
  8. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
-4.5
-5