编辑代码

#include <iostream>
using namespace std;
int main() {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
	for(double i = 0.1; 1.0 - i>1e-6; i+=0.1){
        cout<<i<<" ";
    }
	return 0;
}