1### Compilation failed: 2 3error: 2: variable 's' must be created in a scope 4 for (int x=0; x<10; ++x) float s = sqrt(4); 5 ^^^^^^^^^^^^^^^^^ 61 error 7