fork(4) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6.  
  7. int degrees = 50;
  8. printf("%d degrees in Farenheit is %lf degrees in Celcius \n", degrees, FtoC(degrees));
  9.  
  10. degrees = 100;
  11. printf("%d degrees in Celcius is %lf degrees in Farenheit \n", degrees, CtoF(degrees));
  12.  
  13.  
  14. return 0;
  15. }
  16.  
  17. void CtoF()
  18. {
  19.  
  20. }
  21.  
  22. void FtoC()
  23. {
  24.  
  25. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:86: error: ‘FtoC’ was not declared in this scope
  printf("%d degrees in Farenheit is %lf degrees in Celcius \n", degrees, FtoC(degrees));
                                                                                      ^
prog.cpp:11:86: error: ‘CtoF’ was not declared in this scope
  printf("%d degrees in Celcius is %lf degrees in Farenheit \n", degrees, CtoF(degrees));
                                                                                      ^
stdout
Standard output is empty