0

Привет! Где здесь на этом коде ошибки?

#include <iostream> using namespace std; int main() { int i=0; float x=0, y=0; bool b=false; x=b=i=y=4,567; y=4,567; i=4; b=1; x=1; cout<<x<<' '<<b<<' '<<i<<' '<<y<< endl; return 0; }

22nd Sep 2017, 7:12 AM
Ismoilzoda Atoullo
Ismoilzoda Atoullo - avatar
1 Réponse
+ 6
at first glance. 4,567 does not require a comma and should be written as 4567. also x=b=i=y ... why do this?
22nd Sep 2017, 8:25 AM
jay
jay - avatar