for-loop, increment by double

前端 未结 6 1089
渐次进展
渐次进展 2020-12-05 07:10

I want to use the for loop for my problem, not while. Is it possible to do the following?:

for(double i = 0; i < 10.0; i+0.25)

I want to

6条回答
提交回复
热议问题