#include <iostream> using namespace std; int main() { float a,b; cin >> a; b = 3.0/2 if (b>=1) a+=b; if (a>b) b+=a; cout<<a+b>>// your code goes here return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:8:1: error: expected ‘;’ before ‘if’ if (b>=1) ^~ prog.cpp:13:2: error: expected primary-expression before ‘return’ return 0; ^~~~~~
Standard output is empty