Java ile Sayısal Loto Programı

Konu sahibi son olarak 4807 gün önce görüldü
Kod:
  public class RichPeople {

    public static void main(String[] args) {
        trLottery();
    }

    public static void trLottery(){
        for(int j = 0; j < 8; j++){
            for(int i = 0; i < 6; i++){
                System.out.print(i + (int)(Math.random() * 49)+"\t");
            }
            System.out.println();
        }

    }
}

Bunu bir de Web Servisine bağlarsanız tamamdır.
Kuponları oynadığınız büfeciye XML/SOAP web servisi üzerinden Sayısal Loto oynatabilirsiniz.

kaynak:webmastersitesi.com
 
Geri