fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. float esta = 14;
  6. float lot = 1900;
  7. float nocleg = 600
  8. float wyzywienie = 360;
  9. float teatr = 75;
  10. float metro = 30;
  11. float ubezpieczenie = 200;
  12. float koszt;
  13. koszt=(lot+ubezpieczenie)/4.2916;
  14. cout<<koszt;
  15. return 0;
  16. ;
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:1: error: expected ‘,’ or ‘;’ before ‘float’
 float wyzywienie = 360;
 ^~~~~
prog.cpp:16:1: error: expected ‘}’ at end of input
 ;
 ^
prog.cpp:4:12: note: to match this ‘{’
 int main() {
            ^
stdout
Standard output is empty