fork download
  1. #include <stdio.h>
  2. int main () {
  3. int x = 10;
  4. int y = 5;
  5. int profit = y *--x;
  6. printf("we were left with %d after donating to charity", profit);
  7. return 0;
  8. }
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
we were left with 45 after donating to charity