fork(4) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int ingredient_1 = 2;
  7. double ingredient_2 = 2.5;
  8.  
  9. printf"To make apple sauce you need %lf apples and %d cups of sugar!", WHAT_GOES_HERE, WHAT_GOES_HERE )
  10.  
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:9:8: error: expected ‘;’ before string constant
  printf"To make apple sauce you need %lf apples and %d cups of sugar!", WHAT_GOES_HERE, WHAT_GOES_HERE )
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stdout
Standard output is empty