不好意思,还想问学长几个问题1。what is i after the following for loop?
for (int i=0;i (more...)
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.