java课程设计游戏中如何实现五子棋的存档和文件读取功能

public class test 20 { public static void main(String[]args){ float FM = 1f;float FZ = 1f;浮动温度;float sum = 0ffor(int I = 0;我& lt20;i++){

temp = fm

fm = fz

FZ = FZ+temp;

sum+= FZ/FM;

//system . out . println(sum);

}

system . out . println(sum);

}

}