Posted by : Admin Sabtu, 25 Mei 2013


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dadu
{
    class Program
    {
        static void Main(string[] args)
        {
            F();
            F();
            F();
            F();
            F();
            F();
        }

        static Random rnd = new Random();
        static void F()
        {

            for (int i = 0; i < 600; i++)
            {
                double value;
                double n = 0.5 + rnd.NextDouble() * (6.0 - 0.5);
                value = Math.Round(n);
                Console.WriteLine(value);
            }

            Console.ReadLine();
        }
    }
}


Leave a Reply

Subscribe to Posts | Subscribe to Comments

Translate

Popular Post

My Friends

Blog Archive

Diberdayakan oleh Blogger.

Total Tayangan Halaman

- Copyright © Tech Blog -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -