here
1. you can't assume y = 0.
2. it may not be exact 10.0, may be 9.9998 or 10.0001.
3. even=true!!? you need to put if((even=true)){...}. you try compile. see the warning.
4. don't know. you go have a try.
2. it may not be exact 10.0, may be 9.9998 or 10.0001.
3. even=true!!? you need to put if((even=true)){...}. you try compile. see the warning.
4. don't know. you go have a try.