#include <iostream>using namespace std; int main() {float esta = 14;float lot = 1900;float nocleg = 600float wyzywienie = 360;float teatr = 75;float metro = 30;float ubezpieczenie = 200;float koszt;koszt=(lot+ubezpieczenie)/4.2916;cout<<koszt;return 0;;
Standard input is empty
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() { ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!