fork download
  1. #include <stdio.h>
  2. int main () {
  3. int a = 40;
  4. int b = 30;
  5. int p = a % b;
  6. printf("we were left with $%d after donating to charity\n", p);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
we were left with $10 after donating to charity