package base3; public class play { double[] p=new double[9]; int[] base=new int[4]; int out; int point; int s,hit; void makedata(){ trial(); if(hit==1)play_1(); if(hit==2)play_2(); if(hit==3)play_3(); if(hit==4)play_4(); if(hit==5)play_5(); if(hit==6)play_6(); if(hit==7)play_7(); if(hit==8)play_8(); } void play_1(){ if(base[3]==1)point=point+1; if(base[3]==1)base[3]=0; if(base[2]==1)base[3]=1; if(
![野球5 - 経済統計練習帳](https://cdn-ak-scissors.b.st-hatena.com/image/square/45c4684c76601e94abbe94966d9d5a26153b8fbd/height=288;version=1;width=512/https%3A%2F%2Fimg.atwiki.jp%2F_img%2Fog_image.png)